Skip to main content

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

In This Article

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

Namespace: DevExpress.Utils

Assembly: DevExpress.Data.v24.2.dll

NuGet Package: DevExpress.Data

#Declaration

public virtual void Sort(
    IComparer<T> comparer
)

#Parameters

Name Type Description
comparer IComparer<T>

The IComparer implementation to use when comparing elements.

See Also