SortPair
INPUTA sort pair is the object used to tell a query how the data should be sorted.
Fields
direction
The direction to sort the data. These are case-sensitive.
Values
ASCDESC
key
The key to sort the data by.
A sort pair is the object used to tell a query how the data should be sorted.