WordPress at Your Fingertips
function is not described

_usort_by_first_member() WP 2.9.0

Sorts a multidimensional array by first member of each top level member

Used by uasort() as a callback, should not be used directly.

This is an internal function for using it by WP core itself. It's not recommended to use this function in your code.

No Hooks.

Return

Int.

Usage

_usort_by_first_member( $a, $b );
$a(array) (required)
-
$b(array) (required)
-

Changelog

Since 2.9.0 Introduced.

Code of _usort_by_first_member() WP 5.8.2

function _usort_by_first_member( $a, $b ) {
	return strnatcasecmp( $a[0], $b[0] );
}