ArchiveItemCollection.Sort Method
Namespace: Rebex.IO.Compression
Assembly: Rebex.Zip.dll (version 7.0.9083)
Sort()
Sorts the elements in the entire collection using the default comparer.
Declaration
public void Sort()
Sort(IComparer<ArchiveItem>)
Sorts the elements in the entire collection using the specified comparer.
Declaration
public void Sort(IComparer<ArchiveItem> comparer)
Parameters
Type | Name | Description |
---|---|---|
IComparer<ArchiveItem> | comparer | The System.Collections.Generic.IComparer<T> implementation to use when comparing elements, or a null reference (Nothing in Visual Basic) to use the default comparer. |
Sort(IComparer)
Sorts the elements in the entire collection using the specified comparer.
Declaration
public void Sort(IComparer comparer)
Parameters
Type | Name | Description |
---|---|---|
IComparer | comparer | The IComparer implementation to use when comparing elements, or a null reference to sort alphabetically. |