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

Sort calling vector elements [Index]..[Index+Len-1].

Pascal
function SortAscend(Index: integer; Len: integer; const IndexVec: TVecInt): TVec; overload;

An exception is raised if TMtxVecBase.ConditionCheck is True and array borders are overrun. 

IndexVec contains the new order of elements. The order is stored in an array of integers which are accessible via the IValues property.

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