PHPArrayusort

Sorts an array by values using a user-defined comparison function.

Syntax

usort(array &$array, callable $callback): true