SortDescriptor
Interface
The sort descriptor used by the orderBy method.
Definition
Package:@progress/kendo-data-query
Properties
A custom function that defines the sort order.
Parameters:aany
The first element for comparison.
banyThe second element for comparison.
Returns:number
dir?
"asc" | "desc"
The sort direction. If no direction is set, the descriptor will be skipped during processing.
The available values are:
ascdesc
field
string
The field that is sorted.