Home     ReadMe     Plans You need to log in --> login

Array Sort

Given a JSON array, returns an array of the items sorted

Arguments:
- "json_array" (text)
- "reverse" (bool - True for descending sorting, False for ascending - default is ascending)

Returns:
JSON array, eg: given [3,1,2] will return [1,2,3]

NB: Don't forget to set your headers and use POST (not GET) for the arguments !!!

Try it out

headers:
POST url:
json_array:
reverse:
You are not logged in
output: