I am trying to sort the folders listing on the folderjump box in the private message raea. I have it sorted now but it will only sort the folders that have a capital letter as the first letter of the foldername. If is is a small letter, it puts it at the end of the listing. Here is the code:
PHP Code:
$thefolders[$thisfolder[1]]=$thisfolderid;
}
ksort($thefolders);
while(list($thename,$theid)=each($thefolders)){
$folderjump .= "<option value=\"$theid\" $folderselect[$theid]>$thename</option>";
}
Can anyone please tell me what I am missing?