This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.

_sort_uname_callback( $a,  $b )

Callback to sort array by a ‘Name’ key.


Source

File: wp-admin/includes/plugin.php

function _sort_uname_callback( $a, $b ) {
	return strnatcasecmp( $a['Name'], $b['Name'] );
}

Changelog

Changelog
Version Description
WP-3.1.0 Introduced.