TArray.StableSort<T> Method

Overloads

StableSort<T>(array of T)

Sorts the elements in an array using the default comparer.

StableSort<T>(array of T, Integer, Integer)

Sorts the specified range of elements in an array using the default comparer.

StableSort<T>(array of T, IComparer<T>)

Sorts the elements in an array using the specified comparer.

StableSort<T>(array of T, IComparer<T>, Integer, Integer)

Sorts the specified range of elements in an array using the specified comparer.

StableSort<T>(array of T, TComparison<T>)

Sorts the elements in an array using the specified comparison.

StableSort<T>(array of T, TComparison<T>, Integer, Integer)

Sorts the specified range of elements in an array using the specified comparison.

StableSort<T>(array of T)

Sorts the elements in an array using the default comparer.

Delphi
class procedure StableSort<T>(var values: array of T)

Type Parameters

T

Parameters

values
array of T

StableSort<T>(array of T, Integer, Integer)

Sorts the specified range of elements in an array using the default comparer.

Delphi
class procedure StableSort<T>(var values: array of T; index: Integer; count: Integer)

Type Parameters

T

Parameters

values
array of T
index
Integer
count
Integer

StableSort<T>(array of T, IComparer<T>)

Sorts the elements in an array using the specified comparer.

Delphi
class procedure StableSort<T>(var values: array of T; const comparer: IComparer<T>)

Type Parameters

T

Parameters

values
array of T
comparer
IComparer<T>

StableSort<T>(array of T, IComparer<T>, Integer, Integer)

Sorts the specified range of elements in an array using the specified comparer.

Delphi
class procedure StableSort<T>(var values: array of T; const comparer: IComparer<T>; index: Integer; count: Integer)

Type Parameters

T

Parameters

values
array of T
comparer
IComparer<T>
index
Integer
count
Integer

StableSort<T>(array of T, TComparison<T>)

Sorts the elements in an array using the specified comparison.

Delphi
class procedure StableSort<T>(var values: array of T; const comparison: TComparison<T>)

Type Parameters

T

Parameters

values
array of T
comparison
TComparison<T>

StableSort<T>(array of T, TComparison<T>, Integer, Integer)

Sorts the specified range of elements in an array using the specified comparison.

Delphi
class procedure StableSort<T>(var values: array of T; const comparison: TComparison<T>; index: Integer; count: Integer)

Type Parameters

T

Parameters

values
array of T
comparison
TComparison<T>
index
Integer
count
Integer