CollectionSortInput Input
Description
Specifies sorting options for collections, including the field to sort by and the sort order.
Declaration
input CollectionSortInput {
key: String
order: Int
}
Fields
| Name | Type | Description |
|---|---|---|
key | String | Field name to sort collections by (e.g., title, date). |
order | Int | Sort order: 1 for ascending, -1 for descending. |