| arrange | R Documentation | 
Analogous function for arrange in dplyr.
arrange(.data, ..., cols = NULL, order = 1L)
| .data | data.frame | 
| ... | Arrange by what group? Minus symbol means arrange by descending order. | 
| cols | For  | 
| order | For  | 
Once arranged, the order of entries would be changed forever.
A data.table
arrange, setorder
a = as.data.table(iris)
a %>% arrange(Sepal.Length)
a
a %>% arrange(cols = c("Sepal.Width","Petal.Length"))
a
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.