Statistica Visual Basic Library of Matrix Functions - VectorSort (Vector, Direction)

Parameter Description
Vector name of vector to sort (see Arrays in functions)
Direction direction of sort (SORT_ASCENDING, SORT_DESCENDING)

The VectorSort function will sort the values in Vector (see Arrays in functions) into ascending or descending order, depending on the value of Direction (either SORT_ASCENDING or SORT_DESCENDING, respectively).

Related topics
VectorDualSort, VectorRank. For more information on using arrays, see Arrays in functions. For a complete list of matrix functions, see Statistica Visual Basic library of matrix functions.