# AssetSearchSortInput

> Input in domain **Libraries**

- HTML: [AssetSearchSortInput.html](AssetSearchSortInput.html)
- Raw SDL: [AssetSearchSortInput.sdl](AssetSearchSortInput.sdl)
- Covered by: [llms.txt](../llms.txt)

Sort option for `searchAssets`.

## Input fields

- `key`: `AssetSearchSortKey!` — The field to sort by. Sorting by `LAST_MODIFIED` while paginating can produce duplicate or missing results for assets that are modified while you're paginating through the results.
- `direction`: `AssetSearchSortDirection!` — The sort direction.
