Thanks to Marc and Duncan for setting me straight. I guess the piece of the puzzle that I was overlooking is the fact that lexicographic ordering for string comparison depends on locale.
It would also have helped me a bit if I'd done the RTFM thing and looked at ?"<" !!!
Thanks again. cheers, Rolf -- Honorary Research Fellow Department of Statistics University of Auckland Phone: +64-9-373-7599 ext. 88276 ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.