Click or drag to resize

GenericExtensionsSort Method

Overload List
  NameDescription
Public methodStatic memberSortT(IListT)
Sorts the elements in the entire List{T} using the default comparer.

A quick sort algorithm is used. Quick sort is a un-stable sort algorithm i.e. if two elements are equal their order may not be preserved.

If the provided IList is either an array or a list, the build in sorting method is used (also quick sort).

Public methodStatic memberSort(IXYTable)
Sort table by x-value, using a quick-sort algorithm
Public methodStatic memberSortT(IListT, IComparerT)
Sorts the elements in the entire List{T} using the provided comparer.

A quick sort algorithm is used. Quick sort is a un-stable sort algorithm i.e. if two elements are equal their order may not be preserved.

If the provided IList is either an array or a list, the build in sorting method is used (also quick sort).

Top
See Also