public void sort(Comparator c){
  Arrays.sort(vector,0,size,c);
}

public void sort ( Comparator c ) { Arrays . sort ( vector , 0 , size , c ) ; }
sorts this vector in increasing order according to the given comparator .
