in some locales the alphabet is ordered "AaBbCc....Zz", and in others it uses the ASCII ordering of "ABC...Z...abc...z". This depends on the LC_COLLATE environment variableAha! I never would have thought of a non-ASCII collating sequence. So herzi's original problem might have been caused by a collation aAbB..zZ?
