function isort($list, $index)Arcanist Technical Documentation ()
function isort($list, $index)
Arcanist Technical Documentation ()
Sort a list of arrays by the value of some index. This method is identical to msort(), but operates on a list of arrays instead of a list of objects.
Parameters
list | $list | List of arrays to sort by some index value. |
string | $index | Index to access on each object; the return values will be used to sort the list. |
Return
list | Arrays ordered by the index values. |
- Defined
- src/utils/utils.php:487