WordPress at Your Fingertips
function is not described

_sort_name_callback() WP 3.1.0

Callback to sort array by a 'name' key.

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

_sort_name_callback( $a, $b );
$a (required)
-
$b (required)
-

Changelog

Since 3.1.0 Introduced.

Code of _sort_name_callback() WP 5.8.2

function _sort_name_callback( $a, $b ) {
	return strnatcasecmp( $a['name'], $b['name'] );
}