AVEVA CAF API Documenation

The System.Collections.IComparer implementation to use when comparing elements.-or- A null reference (Nothing in Visual Basic) to use the System.IComparable implementation of each element.
Sort(IComparer) Method
Sorts the elements in the entire System.Collections.ArrayList using the specified comparer.
Syntax
public override void Sort( 
   IComparer comparer
)
public:
void Sort( 
   IComparer^ comparer
) override 

Parameters

comparer
The System.Collections.IComparer implementation to use when comparing elements.-or- A null reference (Nothing in Visual Basic) to use the System.IComparable implementation of each element.
Exceptions
ExceptionDescription
The System.Collections.ArrayList is read-only.
An error occurred while comparing two elements.
a null reference (Nothing in Visual Basic) is passed for comparer, and the elements in the list do not implement System.IComparable.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also