Skip to main content

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

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

Namespace: DevExpress.Utils

Assembly: DevExpress.Data.v24.2.dll

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