And here is the result when sorting the same sequence on a windows box:
> bla = read.table("xx.txt",stringsAsFactors=F) > bla = bla[,1] > bla[1:10] [1] "1000_DGFVALSK_2_run0" "1000_DGFVALSK_2_run0" "1000_DGFVALSK_2_run0" "1000_DGFVALSK_2_run0" [5] "1000_DGFVALSK_2_run0" "1000_DGFVALSK_2_run0" "1001_DGGAWGTEQR_2_run0" "1001_DGGAWGTEQR_2_run0" [9] "1001_DGGAWGTEQR_2_run0" "1001_DGGAWGTEQR_2_run0" > sort(bla)[1:10] [1] "1_AAAAAAALQAK_2_run0" "1_AAAAAAALQAK_2_run0" "1_AAAAAAALQAK_2_run0" "1_AAAAAAALQAK_2_run0" [5] "1_AAAAAAALQAK_2_run0" "1_AAAAAAALQAK_2_run0" "10_AAATAEEPDPK_2_run0" "10_AAATAEEPDPK_2_run0" [9] "10_AAATAEEPDPK_2_run0" "10_AAATAEEPDPK_2_run0" -- Witold Eryk Wolski ______________________________________________ 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.