public static <E extends Comparable<E>> void quickSort(InplaceList<E> array) {
    if (array.isEmpty()) {
      return;
    }
    recursiveQuickSort(array, 0, array.size() - 1);
  }
public static < E extends Comparable < E > > void quickSort ( InplaceList < E > array ) { if ( array . isEmpty ( ) ) { return ; } recursiveQuickSort ( array , 0 , array . size ( ) - 1 ) ; }
Sorts given array using QuickSort

@param array to be sorted.
@param <E>   generic type of list