This function takes a parallel data frame and sorts it by the first
column specified. If there are any ties then it sorts by the second,
and so on. Use desc(x) to specify that x should be sorted in
descending order (see desc).
Value
Data frame
See Also
Other row manipulations: distinct,
filter, group_by,
slice
Examples
dat <- Multiplyr (x=1:100, G=rep(1:4, each=25))
dat %>% arrange (x)
dat %>% arrange (G, x)
dat %>% shutdown()