Arrays.sort(a, c);
Arrays.sort(a);
  public static void sort(List l, Comparator c)  {    Object[] a = l.toArray();    Arrays.sort(a, c);    ListIterator i = l.listIterator();    for (int pos = 0; pos < a.length; pos++)      {	i.next();	i.set(a[pos]);      }  }