Thank you very much to Brian Ripley, Roger Peng, and Andy Liaw. Everyone pointed out the same solution. Setting LC_COLLATE=C did it. This default setting is indeed odd to me. Thanks again! Andreas Krause