> ## 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.

# CustomOrder

> atoti.CustomOrder(\
>
>     \*,\
>
>     *first\_elements*: [Sequence](https://docs.python.org/3/library/collections.abc.html#collections.abc.Sequence)\[[bool](https://docs.python.org/3/builtins/functions.html#bool) | [int](https://docs.python.org/3/builtins/functions.html#int) | [float](https://docs.python.org/3/builtins/functions.html#float) | [date](https://docs.python.org/3/library/datetime.html#datetime.date) | [datetime](https://docs.python.org/3/library/datetime.html#datetime.datetime) | [time](https://docs.python.org/3/library/datetime.html#datetime.time) | [str](https://docs.python.org/3/builtins/stdtypes.html#str)],\
>
> )

Custom order.

> [!WARNING]
>
> Deprecated since version 6.2.1: Use [`atoti.Ordering.first`](./atoti.ordering.Ordering#atoti.Ordering.first) instead:
>
> ```python theme={"languages":{"custom":["/engine/python-sdk/6.2/languages/pycon.tmLanguage.json"]}}
> level.order = tt.CustomOrder(first_elements=["Jan", "Feb"])  # [!code --]
> level.ordering = tt.Ordering(first=["Jan", "Feb"])  # [!code ++]
> ```

### Attributes

#### *first\_elements*

> [Sequence](https://docs.python.org/3/library/collections.abc.html#collections.abc.Sequence)\[[bool](https://docs.python.org/3/builtins/functions.html#bool) | [int](https://docs.python.org/3/builtins/functions.html#int) | [float](https://docs.python.org/3/builtins/functions.html#float) | [date](https://docs.python.org/3/library/datetime.html#datetime.date) | [datetime](https://docs.python.org/3/library/datetime.html#datetime.datetime) | [time](https://docs.python.org/3/library/datetime.html#datetime.time) | [str](https://docs.python.org/3/builtins/stdtypes.html#str)]
