# Sort ## Fields | Field | Type | Required | Description | Example | | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | | `default` | *T.nilable(::String)* | :heavy_minus_sign: | N/A | asc | | `active` | *T.nilable(T::Boolean)* | :heavy_minus_sign: | N/A | false | | `active_direction` | [T.nilable(Models::Operations::ActiveDirection)](../../models/operations/activedirection.md) | :heavy_minus_sign: | The direction of the sort. Can be either `asc` or `desc`.
| asc | | `default_direction` | [Models::Operations::DefaultDirection](../../models/operations/defaultdirection.md) | :heavy_check_mark: | The direction of the sort. Can be either `asc` or `desc`.
| asc | | `desc_key` | *T.nilable(::String)* | :heavy_minus_sign: | N/A | titleSort:desc | | `first_character_key` | *T.nilable(::String)* | :heavy_minus_sign: | N/A | /library/sections/2/firstCharacter | | `key` | *::String* | :heavy_check_mark: | N/A | titleSort | | `title` | *::String* | :heavy_check_mark: | N/A | Title |