code: public static <T extends Comparable<T>> T[] sort(T[] array) {
      return sort(array, Comparable::compareTo);
    }
docs: Sorts the {@link Comparable} elements in the given array.
  
  @param <T> {@link Class} type of the elements in the array.
  @param array array of {@link Comparable} elements to sort.
  @return the given array.
  @see #sort(Object[], Comparator)
  @see java.lang.Comparable