Murray Jorgensen wrote: > > thanks <- read.fwf("C:\\Files\\Reading\\thankyou.txt", c(43,37)) [CCing R-help again: I have looked at Murray Jorgensen's data in the meantime] tord <- order(thanks$V2) sink("C:\\thanks.txt") thanks[tord,] sink() Works for me with R-2.1.1. --> Please upgrade your version of R and try again. Uwe Ligges