You are here: Symbol Reference > AbstractMtxVecInt Namespace > Classes > TMtxVecInt Class > public > SortAscend Method > TMtxVecInt.SortAscend Method (TMtxVecInt, integer, integer, integer)
MtxVec VCL
ContentsIndex
PreviousUpNext
TMtxVecInt.SortAscend Method (TMtxVecInt, integer, integer, integer)

Sort all calling vector elements in ascending order in-place.

Pascal
function SortAscend(DstSortIdx: TMtxVecInt; SortIdxIndex: integer; Index: integer; Len: integer): TMtxVecInt; overload;
Parameters 
Description 
DstSortIdx 
After execution stores sorted values indices. 
SortIdxIndex 
The starting index at which to store sorted values indices in DstSortIdx. 
Index 
The starting index at which to start the sort. 
Len 
The number of elements to sort starting from including zero-based Index. 

calling vector, storing sorted values.

Size of DstSortIdx and calling vector are adjusted automatically.

Copyright (c) 1999-2025 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!