SortArrayObjectsByKey Op
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).
Edit Documentation
Full Name
- Ops.Array.SortArrayObjectsByKey
- Core Op - Official cables op
- MIT
Documentation (markdown)
Issues
Example patch id
Youtube ids (comma seperated)
Op Licence
Caniuse query
Example Patch SortArrayObjectsByKey example
INPUT PORTS
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 (Number:integer )
OUTPUT PORTS
Sorted array (Array)
the sorted array of objects