Now that forder is implemented very nicely for all supported types - to reorder in both ascending and descending, along with proper handling of na.last argument, we can also add this as argument to setorder and setorderv.
The default, will be, na.last=FALSE, in consistency with data.table, as opposed to DT[order(.)] which is TRUE, to be consistent with base.
Now that
forderis implemented very nicely for all supported types - to reorder in both ascending and descending, along with proper handling ofna.lastargument, we can also add this as argument tosetorderandsetorderv.The default, will be,
na.last=FALSE, in consistency withdata.table, as opposed toDT[order(.)]which isTRUE, to be consistent with base.