Back to Devexpress

DXCollectionBase<T>.Sort(IComparer<T>) Method

corelibraries-devexpress-dot-utils-dot-dxcollectionbase-1-dot-sort-x28-system-dot-collections-dot-generic-dot-icomparer-0-x29.md

latest1.3 KB
Original Source

DXCollectionBase<T>.Sort(IComparer<T>) Method

Sorts the elements in the entire DXCollectionBase<T> using the specified comparer.

Namespace : DevExpress.Utils

Assembly : DevExpress.Data.v25.2.dll

NuGet Package : DevExpress.Data

Declaration

csharp
public virtual void Sort(
    IComparer<T> comparer
)
vb
Public Overridable Sub Sort(
    comparer As IComparer(Of T)
)

Parameters

NameTypeDescription
comparerIComparer<T>

The IComparer implementation to use when comparing elements.

|

See Also

DXCollectionBase<T> Class

DXCollectionBase<T> Members

DevExpress.Utils Namespace