Skip to main content

CollectionSort Object

Description

Sort configuration for a collection.

Declaration

type CollectionSort {
key: String
order: Int
}

Fields

NameTypeDescription
keyStringField name to sort by (e.g., "posted", "price", "available").
orderIntSort order (1 for ascending, -1 for descending).