public IComparer <T> OrderByDescending <TValue>(Func <T, TValue> selector, IComparer <TValue> comparer)
 {
     return(OrderedComparer <T> .OrderByDescending(selector, comparer));
 }
Beispiel #2
0
 public IComparer <T> OrderByDescending <TValue>(Func <T, TValue> selector) => OrderedComparer <T> .OrderByDescending(selector);
 public IComparer <T> OrderBy <TValue>(Func <T, TValue> selector)
 {
     return(OrderedComparer <T> .OrderBy(selector));
 }
Beispiel #4
0
 public IComparer <T> OrderBy <TValue>(Func <T, TValue> selector, IComparer <TValue> comparer) => OrderedComparer <T> .OrderBy(selector, comparer);