orderBy
Function
Definition
Package:@progress/kendo-react-data-tools
Orders the specified tree according to the provided sort descriptors.
Parameters:dataany[]
The data that will be sorted.
descriptorsSortDescriptor[]The descriptors by which the data will be sorted.
subItemsFieldstringThe field which points to the subitems collection of each data item.
Returns:any[]
- The sorted data.