beta
cables is under heavy development.
There might be one or another bug, please let us know about it!
SortArray3
Ops.Array.SortArray3
Collections: sort  
Namespace: Ops.Array
Sorts an array with the lowest values of the selected component.

summary (oneliner)

If we have an array with the following values:
[ 4,1,2, 3,8,8, 1,2,3 ]

And pick the x component to sort the triplets by.

The new array would become
[ 1,2,3, 3,8,8, 4,1,2 ]

doc

issues

youtube id

collections

related ops

Inputs

Array (Array)

The array3 to sort


What (string Number)

What to sort the array by – x (the first element of the triplet), y (the second element), z (the third element) or xyz (sum of all three values together)


Outputs

Result (Array)

The sorted array (new array)


Caught a mistake or want to contribute to the documentation?

Edit Documentationcancel save
SortArray3 example:


Credits


Changelog


Ops.Array.Array3xSort renamed to Ops.Array.SortArray3
2019-06-12 - pandur

Examples using SortArray3

Public Patches using SortArray3