code: public static void sort(int[] data, Comparator<? super DBIDRef> comp) {
      sort(data, 0, data.length, comp);
    }
docs: Sort the full array using the given comparator.
  
  @param data Data to sort
  @param comp Comparator