sort

Parameters

Parameter label

I/O type

Data type

Mandatory parameter?

Default value

inputVec

input

vector

yes

N/A

outputVec

output

vector

N/A

N/A

descending

input

bool

N/A

False

Functionality

Module sorts inputVec in ascending (default) or descending (for descendng = True) order to outputVec. Here’s a simple example:

inputVec = [1,-2,-3,-4]
...
outputVec = [-4, -3, -2, 1]