func(live)

sortBy

$0.01/invocation
Sort an array of objects by a specified field in ascending or descending order.
sortBy(
)
=
loading...
API
python
Ruby
>_
Google Sheets
Chat
Email

To use this function in your Ruby application:
1. Install it:
gem install func_live
2. Copy over this snippet:
FuncLive.token = 'FUNC_TOKEN' FuncLive.("sortBy", {   "data": [     {       "name": "Charlie",       "age": 32     },     {       "name": "Alice",       "age": 24     },     {       "name": "Bob",       "age": 28     }   ],   "field": "age",   "order": "asc" })
3. Make sure to replace FUNC_TOKEN with an actual token from tokens.wakeflow.io
awakeflow logoservice
v1.0.1
Having trouble? Try our
whatsapp logo
Whatsapp Support