Overview | Methods | This Package | All Packages

OverviewMethodsThis PackageAll Packages

ArraySorter.sort

Sorts an object array using the IComparer interface to compare elements.

Syntax

public static void sort( Object[] items**, IComparer** comparer )

public static void sort( Object[]

items**, int** index**, int** count**, IComparer** comparer )

Parameters

items

The Object array to sort.

comparer

The IComparer interface to use to compare the elements.

index

The zero-based index at which to begin sorting.

count

The number of elements to sort.