Share via


Overview | Methods | This Package | All Packages

OverviewMethodsThis PackageAll Packages

List.sort

Sorts the entire list using the specified comparer.

Syntax

public void sort( IComparer comp )

public void sort( IComparer comp**, int** index**, int** count )

Parameters

comp

The IComparer object to use to compare items.

index

The index to start sorting from.

count

The number of items to sort.

Exceptions

WFCInvalidArgumentException thrown if either the count parameter or the index parameter is out of bounds.

See Also   ArraySorter.sort