code: @Override
    @SuppressWarnings("unchecked")
    public <E> E[] sort(final E... elements) {
      return (E[]) sort(new SortableArrayList(elements)).toArray(
        (E[]) Array.newInstance(elements.getClass().getComponentType(), elements.length));
    }
docs: Uses the 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 #sort(java.util.List)
  @see org.cp.elements.util.sort.AbstractSorter.SortableArrayList