ArrayEnumerable.orderBy Method
Sorts the elements of a sequence in ascending order according to a key.
Parameters
- keySelector
-
Type: Function
A function to extract a key from an element.
Optional: True
- comparer
-
Type: Function
A comparer function to compare keys.
Optional: True
Return Value
Type: IEnumerable
An enumerable whose elements are sorted according to a key.