InternalIterableSorter<TValue, TKey> constructor

InternalIterableSorter<TValue, TKey>(
  1. TKey keySelector(
    1. TValue
    ),
  2. EqualityComparer<TKey>? comparer,
  3. bool descending,
  4. IterableSorter<TValue>? next,
)

Implementation

InternalIterableSorter(
  this.keySelector,
  EqualityComparer<TKey>? comparer,
  this.descending,
  this.next,
) {
  this.comparer = comparer ?? EqualityComparer.forType<TKey>();
}