Interface Sort
access this type via: data.query.Sort (provides, requires or uses)
Sort values in an array.
Functions
Data[] sort(Data list[], TypeField field, bool ascending)
Data[] sort(Data list[], TypeField field, bool ascending)
Sort an array of data instances into ascending or descending order by one of its fields.
list The array to sort.
field The field to use as the sort order.
ascending Set to true for sort in ascending order, or false for descending order.
returns: The sorted array.