i have a 2D array, and i want to sort alphabetically by an item in the inner array.
right now i just do something like this:
function cmp ($a, $b) {
return ($b[0] - $a[0]);
}
usort($resources, cmp);
and that will sort on the "0" item as long as the contents are numbers...
i want to do something similar with a case insensitive search... is their a user function already made i could use?
thanks