Any reason not to use Java's Comparator + Arrays.sort or Colllections.sort?