miva_array_sort()#
Syntax
miva_array_sort( aggregate var, callback, data var )
Returns#
Returns the number of array elements in the aggregate array structure after sorting.
Parameters#
Parameter | Description |
---|---|
Aggregate |
The array that will be sorted. (the aggregate will be physically altered on return) |
Callback |
The name of a user function that must exist in your program, defined as Callback(left var, right var, data var) |
Data |
Not directly used in the miva_array_sort(), the value will be passed to the Callback function. |