Overload List
| # | Signature | Description |
|---|---|---|
| 1 | TMtxVecInt SortAscend | Sort all calling vector elements in ascending order in-place. |
| └ indexed: TMtxVecInt SortAscend(Int32 Index, Int32 Len) | ||
| 2 | TVecInt SortAscend(TVecInt DstSortIdx) | Sort all calling vector elements in ascending order in-place. |
Overload 1: TMtxVecInt SortAscend
Sort all calling vector elements in ascending order in-place.
Result: stored in self (calling object), returns self for chaining
See Also: VectorInt.SortDescend
Indexed: TMtxVecInt SortAscend(Int32 Index, Int32 Len)
Sort calling vector elements [Index..Index+Len-1] in ascending order in-place.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Index | Int32 | start index |
| 2 | Len | Int32 | element count |
Result: stored in self (calling object), returns self for chaining
Overload 2: TVecInt SortAscend(TVecInt DstSortIdx)
Sort all calling vector elements in ascending order in-place.
| # | Name | Description |
|---|---|---|
| 1 | DstSortIdx | After execution stores sorted values indices. |
Result: stored in self (calling object), returns self for chaining
Returns: calling vector, storing sorted values.
Remarks:
Size of DstSortIdx and calling vector are adjusted automatically.