arrange_with_order: Apply sorting with optional descending order

View source: R/sorting_utils.R

arrange_with_orderR Documentation

Apply sorting with optional descending order

Description

Unified helper to consistently handle ascending/descending sort order across all sorting functions.

Usage

arrange_with_order(data, order_col, descend = FALSE)

Arguments

data

Dataset to arrange

order_col

Symbol/name of the column to sort by

descend

Whether to sort in descending order

Value

Arranged dataset


saros documentation built on Nov. 10, 2025, 5:06 p.m.