From 2795d06ec4a73b599afe113f16e2ca4fce3e29f7 Mon Sep 17 00:00:00 2001 From: Anirban Date: Fri, 29 Mar 2024 17:44:06 -0700 Subject: [PATCH] Mention the forder-applicable case for a descending sort operation --- man/setorder.Rd | 1 + 1 file changed, 1 insertion(+) diff --git a/man/setorder.Rd b/man/setorder.Rd index 6e7b598427..e1cdc40bba 100644 --- a/man/setorder.Rd +++ b/man/setorder.Rd @@ -31,6 +31,7 @@ setorder(x, \dots, na.last=FALSE) setorderv(x, cols = colnames(x), order=1L, na.last=FALSE) # optimised to use data.table's internal fast order # x[order(., na.last=TRUE)] +# x[order(., decreasing=TRUE)] } \arguments{ \item{x}{ A \code{data.table}. }