posted 13 years ago
For the Collator I get from Collator.getInstance(), the order is case-sensitive. It just doesn't match the order you seem to want - it puts uppercase after lowercase, rather than before. However I'm not sure about that, since you don't really specify enough to tell us what you actually want. 'A' should be before 'a', OK. What about 'B' vs 'a'? Or 'Ä' vs. 'a'? I can't tell from your example what you think the order should be.
One possible solution is to simply reverse the case of all the characters before you sort the list, then reverse again after you sort. E.g.
If that doesn't work for you, you probably need to give us more info on how the results are different from what you expect.