code: @Override
    @SuppressWarnings({ "unchecked", "varargs" })
    public <E> E[] sort(final E... elements) {
      Arrays.sort(elements, getOrderBy());
      return elements;
    }
docs: Uses Java's modified Merge Sort to sort an array of elements as defined by the Comparator, or as determined
  by the elements in the array if the elements are Comparable.
  
  @param <E> the type of elements in the array.
  @param elements the array of elements to sort.
  @return the array of elements sorted.
  @see #getOrderBy()
  @see java.util.Arrays#sort(Object[], java.util.Comparator)