public static void ParallelMergeSort <T>(this T[] list, IComparer <T> comparer, bool ascending = true) { StoParallelMergeSort <T> sorter = new StoParallelMergeSort <T>(comparer); sorter.Sort(list, ascending); }
public static void ParallelMergeSort <T>(this IList <T> list, Comparison <T> comparison, bool ascending = true) { StoParallelMergeSort <T> sorter = new StoParallelMergeSort <T>(comparison); sorter.Sort(list, ascending); }