public static int[] sort(final long[] array, final int from, final int to) {
		checkFromToIndex(from, to, array.length);
		return sort(array, from, to, ProxySorter::compare);
	}
Sorting the given array by creating an index lookup array.

@see #sort(Object, int, int, Comparator)

@since 6.3

@param array the array to sort
@param from the index of the first element (inclusive) to be sorted
@param to the index of the last element (exclusive) to be sorted
@return the <em>sorted</em> index lookup array
@throws IllegalArgumentException if {@code from > to}
@throws IndexOutOfBoundsException if the subrange is out of bounds
jenetics/src/main/java/io/jenetics/util/ProxySorter.java