Type of elements within the source iterable.
The source iterable.
Optionalcomparator: OrderComparator<TElement, TElement>Optional order comparator used to compare elements. Defaults to the library's standard order comparison when omitted.
An ordered sequence sorted ascending.
Sorts the elements of the sequence in ascending order using the provided comparator.