The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.

Multi-Column Sorting

dtsmartr supports modern, spreadsheet-like multi-column sorting natively by interacting with column headers.

1. Single Column Sort

Clicking directly anywhere on a column header card triggers sorting: - First Click: Sorts the column ascending (). - Second Click: Sorts the column descending (). - Third Click: Clears the sort state for that column.


2. Multi-Column Sort Chain

To sort by multiple columns sequentially (e.g., sort by cyl first, then by mpg within each cylinder class): - Click the first column header (e.g., cyl) to set the primary sort. - Hold Shift and click the second column header (e.g., mpg) to append it to the sort chain. - The UI displays numbered emoji badges (e.g., 1️⃣ ↑, 2️⃣ ↓) next to the column names to show the sorting priority and direction. - The active sort chain is also printed in the grid’s top toolbar (e.g., ↕ cyl asc (1) -> mpg desc (2)).


3. Clearing Sorts

4. Live Multi-Column Sorting Example

Try sorting by cylinders (cyl) first, and then sorting by miles-per-gallon (mpg) inside the cylinder groups:

library(dtsmartr)
dtsmartr(mtcars)

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.