Feature Rich
Rapid Application Development
Helping you or your customers
Manage their Business

All Commands All Variables
Commands

ARRAY_SORT

You can use this to sort an array by Key or Value.

You can sort by value either numerically or alphanumerically by using an N or an A as the second parameter.

This will return a JSON string of the sorted array ready to be placed back into the source array or a different one.

Number Name Default Type Description
1 name String The name of the array to sort.
2 mode K String K = Key, N = Numeric value, A = Alpha Numeric value
Example
{"B":"12","A":"6","C":"5"}
{"A":"6","B":"12","C":"5"}
{"C":"5","A":"6","B":"12"}
to add a Comment.