public sort ( string $key = null, callable $callback = null ) : array | ||
$key | string | Element to sort using "dot" notation. You can to escape a dot in a key surrendering with brackets: "[.]" |
$callback | callable | Callback should be a function with the following signature: ```php function($element1, $element2) { // returns -1, 0 or 1 } ``` |
Результат | array |