uksort
spatie/fork
Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Sort an array by keys using a user-defined comparison function
<?php uksort
(array &
$array
, callable
$callback
):
true