beta
cables is under heavy development.
There might be one or another bug, please let us know about it!
Ops.Array.Array3xSort

Array3xSort
op id:b0fbc366-09a8-4695-87b3-5946210bf722
Sorts an array with value triplets `[x1, y1, z1, …]`

summary (oneliner)

Creates a copy of the array before it is sorted, the original stays untouched.

doc

issues

youtube id

op collections: pointArrays  

collections

related ops

Inputs

Array (Array)

The array3x 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)


Credits

Caught a mistake or want to contribute to the documentation?


Edit this documentcancel save

Examples using Array3xSort

Public Patches using Array3xSort