[Extension()] public static void Sort<T>( IList<T> list, string propertyName, SortDirection sortDirection )
Parameters
- list
- The list to be sorted
- propertyName
- The property name to sort by.
- sortDirection
- The direction to sort by.
Type Parameters
- T
- The type of the list.