Thanks Ted, Indeed, there is a difference between the systems on your much-simplified example (thanks).
So, linux: sort(c("AB CD","ABCD")) [1] "ABCD" "AB CD" Windows: sort(c("AB CD","ABCD")) [1] "AB CD" "ABCD" Regards, David -- View this message in context: http://r.789695.n4.nabble.com/difference-in-sort-order-linux-Windows-R-2-11-0-tp2234251p2234366.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ R-help@r-project.org mailing list 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.