sort

public void sort(Comparator<? extends Object> c)