Skip to content
Prev 33112 / 398506 Next

Ordering long vectors

On Sun, 8 Jun 2003, G?ran Brostr?m wrote:

            
There is a simple and very much faster solution if you don't care about 
ordering of ties:

system.time(ord4 <- sort(x, method="quick", index.return = TRUE)$ix)

That is in the help, and I am very surprised you failed to find it.