A
Anonymous
Guest
I was just wondering if anyone knew of a simple way to sort my Array in alphabetical order... CORRECTLY!
Right now when I sort my array it works fine except it puts words starting with a lowercase letter after all the words starting with an uppercase letter.
Ex:
[1] => "Abc"
[2] => "Word"
[3] => "lowercase"
[4] => "Uppercase"
will sort into this:
[1] => "Abc"
[2] => "Uppercase"
[3] => "Word"
[4] => "lowercase"
So is there a quick fix or will I need to make my own sorting function to prevent this?
Right now when I sort my array it works fine except it puts words starting with a lowercase letter after all the words starting with an uppercase letter.
Ex:
[1] => "Abc"
[2] => "Word"
[3] => "lowercase"
[4] => "Uppercase"
will sort into this:
[1] => "Abc"
[2] => "Uppercase"
[3] => "Word"
[4] => "lowercase"
So is there a quick fix or will I need to make my own sorting function to prevent this?