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.

_usort_by_first_member( array $a, array $b )

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


Description

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


Parameters

$a

(Required)

$b

(Required)


Return

(int)


Source

File: wp-admin/includes/import.php

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

Changelog

Changelog
Version Description
WP-2.9.0 Introduced.