PHP function uksort()
Availability in PHP 4.0
Sort fields by key using a user-defined comparison function
Parameters
| Parameter | Data type | Default value | Note |
|---|---|---|---|
$array |
array |
not | Input array. |
$cmp_function |
callback |
not | Callback of the comparison function. |
Return values
bool
true on success or false on failure.