GenericExtensionsSortStableT Method (IListT, IComparerT) |
A merge sort algorithm is used. merge sort is a stable sort algorithm i.e. if two elements are equal their order are preserved.
Namespace: DHI.Mike1D.Generic
public static void SortStable<T>( this IList<T> list, IComparer<T> comparer )