// Textbook fragment 11.07 public static void quickSort (E[] s, Comparator c) { if (s.length < 2) return; // the array is already sorted in this case quickSortStep(s, c, 0, s.length-1); // recursive sort method }