Sorts the elements in a section of the collection using the specified comparer.
Namespace:
Rebex.IO
Assembly:
Rebex.Common (in Rebex.Common.dll)
Syntax
Visual Basic |
---|
Public Sub Sort ( _ index As Integer, _ count As Integer, _ comparer As IComparer _ ) |
C# |
---|
public void Sort( int index, int count, IComparer comparer ) |
Parameters
- index
- Type: System..::..Int32
The zero-based starting index of the range to sort.
- count
- Type: System..::..Int32
The length of the range to sort.
- comparer
- Type: System.Collections..::..IComparer
The IComparer implementation to use when comparing elements, or a null reference to sort alphabetically.