collapse version of dplyr::arrange()This is a fast and near-identical alternative to dplyr::arrange()
using the collapse package.
desc() is like dplyr::desc() but works faster when
called directly on vectors.
f_arrange(data, ..., .by = NULL, .by_group = FALSE, .cols = NULL)A sorted data.frame.
A data frame.
Variables to arrange by.
(Optional). A selection of columns to group by for this operation.
Columns are specified using tidyselect.
If TRUE the sorting will be first done by the group
variables.
(Optional) alternative to ... that accepts
a named character vector or numeric vector.
If speed is an expensive resource, it is recommended to use this.