public static < T > void sort ( List < T > a , Comparator < ? super T > comp ) { sort ( a , 0 , a . size ( ) - 1 , comp ) ; }
Sort the elements in the specified List according to the ordering imposed by the specified Comparator .