ArrayIterator::uasort

Sort with a user-defined comparison function and maintain index association

&reftitle.description; public `true` `ArrayIterator::uasort` `callable` `callback`

This method sorts the elements such that indices maintain their correlation with the values they are associated with, using a user-defined comparison function.

¬e.sort-unstable;
&reftitle.parameters;

`callback`

- &sort.callback.description;
&reftitle.returnvalues;

&return.true.always;

&reftitle.changelog;

&Version; | &Description;
&return.type.true;

&reftitle.seealso;

- `ArrayIterator::asort`
- `ArrayIterator::ksort`
- `ArrayIterator::natcasesort`
- `ArrayIterator::natsort`
- `ArrayIterator::uksort`
- `uasort`