code: public static <T> List<T> topp(final T[] a, final int n, final Comparator<? super T> cmp) {
          return topp(a, 0, len(a), n, cmp);
      }
docs: The present order is kept in the result list.
  
  @param a
  @param n
  @param cmp
  @return