This documentation is archived and is not being maintained.

ArrayList.Sort Method

Sorts the elements in the ArrayList or a portion of it.

Name Description
ArrayList.Sort () Sorts the elements in the entire ArrayList using the IComparable implementation of each element.

Supported by the .NET Compact Framework.

ArrayList.Sort (IComparer) Sorts the elements in the entire ArrayList using the specified comparer.

Supported by the .NET Compact Framework.

ArrayList.Sort (Int32, Int32, IComparer) Sorts the elements in a range of elements in ArrayList using the specified comparer.

Supported by the .NET Compact Framework.

Show: