wc_ascii_uasort_comparison()WC 1.0

Sort values based on ascii, usefull for special chars in strings.

No Hooks.

Return

Int.

Usage

wc_ascii_uasort_comparison( $a, $b );
$a(string) (required)
First value.
$b(string) (required)
Second value.

wc_ascii_uasort_comparison() code WC 7.3.0

function wc_ascii_uasort_comparison( $a, $b ) {
	$a = remove_accents( $a );
	$b = remove_accents( $b );
	return strcmp( $a, $b );
}