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.
orderIntSort order (1 for ascending, -1 for descending).