Sort
1 min
Sorts a given JSON List based on a key present in all of the JSON Objects.
direction can be asc/desc
API Definition
Splice API
Call the following API:
POST
https://orca.pathfix.com/functions/list/sort
{
"input": [
{
"user_id": "[email protected]"
},
{
"user_id": "[email protected]"
},
{
"user_id": "[email protected]"
}
],
"key": "user_id",
"direction": "asc"
}