Method ThenByDescending
- Namespace
- SodaFlow.Collections
- Assembly
- SodaFlow.Core.Collections.dll
ThenByDescending<TSortKey>(Func<TIdentity, TState, TSortKey>)
This order, with its ties broken, descending, by a value projected from each item.
public KeyOrder<TKey, TIdentity, TState> ThenByDescending<TSortKey>(Func<TIdentity, TState, TSortKey> selector)
Parameters
selectorFunc<TIdentity, TState, TSortKey>Projects the next level's sort value from an item.
Returns
- KeyOrder<TKey, TIdentity, TState>
The refined order. This order does not change, and other code can use it alone.
Type Parameters
TSortKeyThe type of the projected sort value.