% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/sorting_utils.R
\name{arrange_with_order}
\alias{arrange_with_order}
\title{Apply sorting with optional descending order}
\usage{
arrange_with_order(data, order_col, descend = FALSE)
}
\arguments{
\item{data}{Dataset to arrange}

\item{order_col}{Symbol/name of the column to sort by}

\item{descend}{Whether to sort in descending order}
}
\value{
Arranged dataset
}
\description{
Unified helper to consistently handle ascending/descending sort order
across all sorting functions.
}
\keyword{internal}
