PHP function array_multisort()
Availability in PHP 4.0
Sort multiple or multi-dimensional arrays
Parameters
| Parameter | Data type | Default value | Note |
|---|---|---|---|
$arr |
array |
not | An array being sorted. |
$arg |
mixed |
null, | Optionally another array, or sort options for the previous array argument: SORT_ASC, SORT_DESC, SORT_REGULAR, SORT_NUMERIC, SORT_STRING. |
$arg |
mixed |
null, | Optionally another array, or sort options for the previous array argument: SORT_ASC, SORT_DESC, SORT_REGULAR, SORT_NUMERIC, SORT_STRING. |
$_ |
mixed |
null |
Return values
bool
Returns true on success, otherwise false on failure.