Rows in the order of one or more columns: numbers, dates, and date-times by
value, logicals from FALSE, strings by the code points of their characters, as in
every host and locale, and factors by their levels. Missing cells and NaN come
last, also in a column that descends. Rows that are equal in every column of by
stay in the order they are in.
Arguments
- x
A value of a table.
- by
Character or numeric: The columns, the first foremost, by name or by position.
- descending
Optional character or numeric: The columns of
bythat descend.- n_threads
Optional Integer [1, Inf): The threads that the work in Rust may use;
NULLtakesgetOption("r8.n_threads"), whose default is half the logical cores, at most 2 whereR CMD checklimits the cores, and at mostOMP_THREAD_LIMIT. A result is the same for any number of threads.