sortKey()
The sortKey() method sort an array by keys using a function or default sort function
Example.php
Syntax
Parameter
A function to compare element for sort, taking two arguments:
$a
The comparison target A$b
The comparison target B
Default is
NULL
, If is null, Sort by default sort function.
Return value
A sorted array.
Prefixing
References
Last updated