Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Extension method: IEnumerable<T> OrderLazy<T>(this IEnumerable<T>, IComparer<T>)

Declaration

public static IEnumerable<T> OrderLazy<T>(
    this IEnumerable<T> source,
    IComparer<T> comparer
)

Summary

Orders the items, lazily. It is much faster when extracting only the first few items using Enumerable.Take<TM1>(IEnumerable<TM1>, int).

Generic type parameters

TThis type parameter is not documented.

Parameters

this IEnumerable<T>source The sequence to be sorted.
IComparer<T>comparer An instance of IComparer<T> specifying the comparison to use on the items.

Returns

The given IEnumerable<T> with its elements sorted progressively.