Onetastic Macro Documentation >
>
>
Array_SortByKey Array_SortByKey
Sorts an array by the keys.
Syntax
void Array_SortByKey(byref Array array)
Parameters
- Array array
- Array to sort.
Examples
$array["size"] = "large"
$array["type"] = "t-shirt"
$array["price"] = 10
$array["color"] = "red"
Array_SortByKey($array)
|