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