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

Syntax

[Android.Runtime.Register("sort", "([Ljava/lang/Object;)V", "")]
public static void Sort (Java.Lang.Object[] array)

Parameters

array
the Object array to be sorted.

Exceptions

TypeReason
Java.Lang.ClassCastExceptionif any element does not implement Comparable, or if compareTo throws for any pair of elements.

Remarks

Sorts the specified array in ascending natural 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