How to use this office tool
- Upload a workbook and enter the primary column number.
- Choose ascending or descending order.
- Sort, review the first rows, and download the XLSX result.
Sort an Excel worksheet by two columns with a stable browser-based sort. Choose the primary column, direction, and header row, then download a new copy.
Sorts data rows by the chosen primary column and then the next column as a tie-breaker. The header row stays above the sorted records.
Text comparisons use the browser locale with numeric-aware ordering. Excel may use different locale or custom-list rules.
Reads XLSX, XLS, CSV, and TSV and writes a new XLSX workbook.
| Input | XLSX, XLS, CSV, TSV as applicable |
|---|---|
| Processing | Local browser session |
| Output | New XLSX, TSV, XML, or HTML file |
The selected column is the primary key and the column immediately to its right is used when primary values are equal.
Numeric-looking strings are compared with numeric-aware locale rules, but mixed types should still be cleaned for predictable results.
No. Rows through the selected header row stay in place and only the following data records are sorted.
Yes. Records with equal primary and secondary keys retain their original relative order.
No. It creates a separate XLSX download and does not overwrite the uploaded spreadsheet.
| Privacy | Files stay in this browser session |
|---|---|
| Preview | Limited rows for responsive display |
| Source | The original file is not overwritten |