WordPress at a glance
function is not described

_sort_name_callback() WP 3.1.0

Callback to sort array by a 'name' key.

No Hooks.

Return

Int.

Usage

_sort_name_callback( $a, $b );

Changelog

Since 3.1.0 Introduced.

Code of sort name callback: wp-admin/includes/widgets.php WP 5.2.2

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