Java.Util.Arrays.Sort Method
Sorts the specified range in the array in ascending numerical order.

Syntax

[Android.Runtime.Register("sort", "([SII)V", "")]
public static void Sort (short[] array, int start, int end)

Parameters

array
the short array to be sorted.
start
the start index to sort.
end
the last + 1 index to sort.

Exceptions

TypeReason
Java.Lang.IllegalArgumentExceptionif start > end.
Java.Lang.ArrayIndexOutOfBoundsExceptionif start or end > array.length.

Remarks

Sorts the specified range in the array in ascending numerical order.

[Android Documentation]

Requirements

Namespace: Java.Util
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1