Sort an Excel table
Order an Excel table by choosing the sort column and order.- 1Import
- 2Configure
- 3Download
Drag and drop your workbooks here
or click to select them from your device · 100% processed in your browser
About this tool
“Sort a table” orders the rows of a table by a column, ascending or descending, with a second column to break ties.
Numbers are sorted as numbers, and the header row stays on top.
Main benefits
- Ascending or descending
- Two sort columns
- Numbers sorted as such
- Header kept on top
How to use “Sort a table”
Drop the workbooks
Excel, LibreOffice or CSV.
Choose the column
By letter or header.
Choose the order
Ascending, A to Z, or descending.
Add a second criterion
Optional: then by another column.
Download
The sorted tables, as a ZIP if several.
Key features
- Ascending A to Z or descending Z to A
- Second sort on another column, city then name
- Numbers sorted as numbers, not as text
- Header row kept as the first row
- Several files processed in a row
- Formatting preserved
Compatible formats
Accepted formats
- XLSX
- XLS
- ODS
- CSV
Output formats
- XLSX
- CSV
- ODS
- ZIP
Keep only some rows?
To filter by a condition, use the filter.
Common use cases
Directory
Order people by city then by name.
Sales ranking
Put the highest amounts first.
Import preparation
Order rows before loading them.
Reference list
Put a scattered file back in alphabetical order.
Frequently asked questions (FAQ)
Can I sort on two columns?
Yes, the second breaks ties.
Are numbers sorted properly?
Yes, as numbers.
Does the header move?
No, it stays on the first row.
How do I name the column?
By letter or header.
What are the limits?
Up to 20 workbooks of 500 MB each.
Related tools
Discover other tools for your spreadsheets and workbooks.
Filter a table
Filter rows in an Excel or CSV table
Remove duplicates
Remove duplicates from an Excel or CSV table
Extract columns
Extract or remove columns from a table
Clean data
Clean data in an Excel or CSV table
Transpose a table
Transpose an Excel table: rows into columns
Add totals
Add a totals row to a table
File privacy
Your files stay in your browser: processing happens on your device and no workbook is sent to a server.
Understanding the tool settings
Here is what each setting really changes in the result.
Sort by
Column, by letter or header.
Order
Ascending or descending.
Then by
Second column, optional.
Common problems and solutions
Numbers misordered?
They are written as text: clean first.
Column not found?
The header entered matches nothing.
Header sorted?
The first row is not recognised as a title.
Wrong date order?
They are text, not dates.
Format refused?
Use a common spreadsheet format.
Workbook too large?
Above 500 MB it is rejected.
Best practices
- Clean first: spaces skew the sort.
- Convert text numbers: fix them before sorting.
- Pick a second criterion: the order is stable.
- Keep the first row clear: it is recognised as a header.
- Test on a copy: before the series.
- Keep the original: it is not modified.
Security and privacy
Local processing
The work is done directly in your browser, on your device.
No upload required
Your files are sent to no server: nothing is uploaded or stored.
Local sorting
The table is ordered in your browser; it is sent to no server.
Compatibility and limits
What the tool accepts, what it produces and how far it goes.
- Input: XLSX, XLS, ODS, CSV and other spreadsheets. Output: the sorted workbooks, in a ZIP for several.
- Limits: 20 workbooks at a time, 500 MB each.
Go further
Analyze a workbook
Get a full profile of a workbook: number of sheets, rows, and columns, blank cells, duplicates, column types, formulas, images, and author information.
Column statistics
Calculate the statistics for every numeric column in a table with one click: value count, sum, average, median, minimum, maximum, and blank values.
Fill empty cells
Fill the empty cells in a table: with a fixed value (0, "N/A"…), with the value from the cell above, or with the column average.
Batch center
Apply a tool and its settings (or a preset) to up to 100 workbooks: progress, errors isolated per file, retry of failures and a reread ZIP of the successes.
