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

SortArrayObjectsByKey Op

Ops.Array.SortArrayObjectsByKey


SortArrayObjectsByKey
Namespace: Ops.Array

Op author: stephan

sort an array of objects by value of object keys


summary (oneliner)

Lets you sort an array of objects (as i.e. given by CsvArray) by one key of the containing objects. Can be "tested" properties, use '.' as a seperator then (i.e. dimensions.width).



doc

issues

example patch id

youtube id

caniuse query

collections

related ops

Inputs

Array to sort (Array)

the array of objects to sort


Sort property (String)

sorting property, can be "nested" (i.e. dimensions.width)


Sorting mode index (integer /Number)

Outputs

Sorted array (Array)

the sorted array of objects


Caught a mistake or want to contribute to the documentation?

Edit Documentationcancel save

SortArrayObjectsByKey example

Open Example In Editor


Patches using SortArrayObjectsByKey