Method Sort
Sort<TKey>(Func<T, TKey>, ListSortDirection)
Declaration
public void Sort<TKey>(Func<T, TKey> keySelector, ListSortDirection direction)
Parameters
Type |
Name |
Description |
System.Func<T, TKey> |
keySelector |
|
System.ComponentModel.ListSortDirection |
direction |
|
Type Parameters
Sort<TKey>(Func<T, TKey>, IComparer<TKey>)
Declaration
public void Sort<TKey>(Func<T, TKey> keySelector, IComparer<TKey> comparer)
Parameters
Type |
Name |
Description |
System.Func<T, TKey> |
keySelector |
|
System.Collections.Generic.IComparer<TKey> |
comparer |
|
Type Parameters