You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is no notion of "reverse" for equality comparers.
ThenBy (and ThenByDescending)
ThenBy returns a CompoundComparer. A CompoundComparer always applies the source comparer first. If the source comparer indicates both items are equal, then another comparer is used as a "tie breaker".
For equality comparers, use ThenEquateBy. There is no notion of "descending" for equality comparers.
Sequence
Sequence converts an IComparer<T> into an IComparer<IEnumerable<T>> by using lexicographical sorting.