Sort Array with Key

Categories

• Array

Description

Sorts the input array with the specified key. Rather than sorting the array based on the values of its elements, this node allows you to sort the array based on the value of the elements in the key array. The node expects the array and key array to be of the same size.

Ports

Inputs

Ascending

True to sort the input array in ascending order; false for descending.

Key Array

The array to use as a sorting key. This array must be of the same size as the data array to sort.

Array

The array to sort.

Outputs

Result

The sorted array.



Autodesk Softimage v.7.5