I don't program in Java so this would be a shot in the dark, but if spaces are a problem, what's preventing you from just removing them when you go to sort? Not sure how collators are used and if you have the chance to mangle the text before comparisson w/o actually changing the data.