- array
- the Object array to be sorted.
- start
- the start index to sort.
- end
- the last + 1 index to sort.
Type Reason Java.Lang.ClassCastException if any element does not implement Comparable, or if compareTo throws for any pair of elements. Java.Lang.IllegalArgumentException if start > end. Java.Lang.ArrayIndexOutOfBoundsException if start or end > array.length.
Sorts the specified range in the array in ascending natural order.