DataSHIELD implentation of dplyr::arrange.

arrangeDS(tidy_expr, df.name, .by_group)

Arguments

tidy_expr

Variables, or functions of variables. Use desc() to sort a variable in descending order.

df.name

A data frame, data frame extension (e.g. a tibble), or a lazy data frame (e.g. from dbplyr or dtplyr).

.by_group

If TRUE, will sort first by grouping variable. Applies to grouped data frames only.

Value

An object of the same type as df.name, typically a data frame or tibble.