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

Syntax

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

Parameters

array
the long 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