PooledList<T>.

Sort(int, int, IComparer<T>) Method

Summary

Sorts the elements in a section of this list. The sort compares the elements to each other using the given IComparer interface. If comparer is null, the elements are compared to each other using the IComparable interface, which in that case must be implemented by all elements of the list. This method uses the Array.Sort method to sort the elements.
Namespace
Avalonia.Collections.Pooled
Containing Type
PooledList<T>

Syntax

public void Sort(int index, int count, IComparer<T> comparer)

Parameters

Name Type Description
index int
count int
comparer IComparer<T>

Return Value

Type Description
void