code: public static <V> V[] sort(V[] array, Comparator<? super V> comparator) {
          Arrays.sort(array, comparator);
          return array;
      }
docs: Sort v [ ].
  
  @param <V>        the type parameter
  @param array      the array
  @param comparator the comparator
  @return the v [ ]