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

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