A newer version of this page is available. Switch to the current version.

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

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

Namespace: DevExpress.Utils

Assembly: DevExpress.Data.v19.2.dll

Declaration

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

Parameters

Name Type Description
comparer IComparer<T>

The IComparer implementation to use when comparing elements.

See Also