code: public static <E extends Comparable<E>> void quickSort(List<E> array) {
      if (array.isEmpty()) {
        return;
      }
      recursiveQuickSort(array, 0, array.size() - 1);
    }
docs: Sorts given array using QuickSort
  
  @param array to be sorted.
  @param <E>   generic type of list