Convenience method for sorting a data frame using the given variables.
sort.df(data, vars=names(data))
data
vars
Hadley Wickham <h.wickham@gmail.com>