The source iterable.
Sorts the elements of a sequence in ascending order.
const items = [1, 3, 2];
const ordered = order(items).toArray(); // Will be [1, 2, 3]
TSource The type of the source iterable.
An IOrderedEnumerable
The source iterable.
An Comparer
Generated using TypeDoc
Sorts the elements of a sequence in ascending order.
Example
Typeparam
TSource The type of the source iterable.
Returns
An IOrderedEnumerable whose elements are sorted.