[]
        
(Showing Draft Content)

GrapeCity.Documents.Common.OwnedCollectionBase-1.Sort

Sort Method

Sort(Comparison<TItem>)

Sorts the elements in the entire collection using the specified Comparison<T>.

Declaration
public void Sort(Comparison<TItem> comparison)
Parameters
Type Name Description
Comparison<TItem> comparison

Sort(IComparer<TItem>)

Sorts the elements in the entire collection using the specified IComparer<T>.

Declaration
public void Sort(IComparer<TItem> comparer)
Parameters
Type Name Description
IComparer<TItem> comparer

Sort(int, int, IComparer<TItem>)

Sorts the elements in a range of elements using the specified IComparer<T>.

Declaration
public void Sort(int index, int count, IComparer<TItem> comparer)
Parameters
Type Name Description
int index
int count
IComparer<TItem> comparer