function isort($list, $index)libphutil Technical Documentation (Core Utilities)
function isort($list, $index)
libphutil Technical Documentation (Core Utilities)
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