EnumerableUtility.Order<T> method (1 of 2)

Sorts the sequence. A shortcut for OrderBy(x => x).

public static IEnumerable<T> Order<T>(this IEnumerable<T> source)
parameter description
source The sequence.

Return Value

The sorted sequence.

See Also


EnumerableUtility.Order<T> method (2 of 2)

Sorts the sequence. A shortcut for OrderBy(x => x, comparer).

public static IEnumerable<T> Order<T>(this IEnumerable<T> source, IComparer<T> comparer)
parameter description
source The sequence.
comparer The comparer.

Return Value

The sorted sequence.

See Also