Sorts the elements in the entire ImapMessageCollection using the specified comparer.
Namespace:
Rebex.Net
Assembly:
Rebex.Imap (in Rebex.Imap.dll)
Syntax
| Visual Basic |
|---|
Public Sub Sort ( _ comparer As IComparer _ ) |
| C# |
|---|
public void Sort( IComparer comparer ) |
Parameters
- comparer
- Type: System.Collections..::..IComparer
The IComparer implementation to use when comparing elements, or a null reference to sort by sequence number ascending.
Remarks
This method uses Sort(IComparer), which uses QuickSort algorithm. See its description for more information.