Hi, I know this thread's a bit dated, but I found it.. so other people might, Doing a bit of web searching I found this page:
http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=11&lngWId=8
This defines a custom sort function that can be used with usort to do a case insensitive
The function is:
function isort($a,$b){
if(ord(substr(strtolower($a),0,1)) == ord(substr(strtolower($b),0,1))) return 0;
return (ord(substr(strtolower($a),0,1)) < ord(substr(strtolower($b),0,1))) ? -1 : 1;
}
USAGE: usort($array_to_sort, "isort");
Hope this helps someone