Пример #1
0
 private static void SortASC(IComparable[] a)
 {
     Shuffle.Do(a);
     SortASC(a, 0, a.Length - 1);
 }
Пример #2
0
 private static void SortDESC <Key>(Key[] a, IComparer <Key> c) where Key : class
 {
     Shuffle.Do(a);
     SortDESC(a, c, 0, a.Length - 1);
 }