> ## Documentation Index
> Fetch the complete documentation index at: https://docs.activeviam.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Level.order

> *getter setter* Level.order: ~~[CustomOrder](https://docs.activeviam.com/engine/python-sdk/6.2/api/atoti.order.CustomOrder.md#atoti.CustomOrder)~~ | ~~[NaturalOrder](https://docs.activeviam.com/engine/python-sdk/6.2/api/atoti.order.NaturalOrder.md#atoti.NaturalOrder)~~ | ~~[LexicographicalOrder](https://docs.activeviam.com/engine/python-sdk/6.2/api/atoti.order.LexicographicalOrder.md#atoti.LexicographicalOrder)~~

Order in which to sort the level’s members.

> [!WARNING]
>
> Deprecated since version 6.2.1: Use [`atoti.Level.ordering`](./atoti.Level.ordering#atoti.Level.ordering) instead:
>
> ```python theme={"languages":{"custom":["/engine/python-sdk/6.2/languages/pycon.tmLanguage.json"]}}
> level.order = tt.LexicographicalOrder(ascending=False)  # [!code --]
> level.ordering = tt.Ordering(direction="descending")  # [!code ++]
> ```
