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

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

Pascal
function SortAscend(const DstSortIdx: TMtxVecInt; const SortIdxIndex: integer; const Index: integer; const Len: integer): TMtxVecInt; overload;
Parameters 
Description 
DstSortIdx 
After execution stores sorted values indices. 
SortIdxIndex 
The starting index for the DstSortIdx parameter. 
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!