LocalExcelTool
Get started

Sort a sheet by a column

Sort rows by any column, numbers compared as numbers, not as text.

What is Sort a sheet by a column

Sorting in Excel goes wrong when numbers are stored as text: 10 sorts before 9 because "1" comes before "9". This tool compares numeric cells numerically and everything else alphabetically, and keeps the header row pinned at the top.

🔒 Everything runs in your browser. Nothing is uploaded.

What this tool actually does with your file

Where it runs
In your browser, on this page
Upload
None — the file never leaves your device
Offline
Works with the network disconnected

How the sort works

The header row is pinned, the data rows are reordered by the column you chose, and numeric cells are compared as numbers while everything else is compared alphabetically. That distinction is what stops 10 from sorting before 9.

Why blanks come first

Empty cells compare as empty strings, which sort before any text ascending. If blanks are noise, remove those rows first — sorting them to the top is the correct behaviour, not a bug.

When not to use it

When the order is meaningful and must not change — a transaction ledger, a log with timestamps, an audit trail. Sort a copy. Reordering the original destroys the sequence that made it evidence. If the sheet has a total row at the bottom, delete it before sorting or exclude it, otherwise the total is sorted into the middle of the data and the numbers stop meaning anything.

How to use

  1. 1.Choose your .xlsx / .xls / .csv file (it never leaves the browser).
  2. 2.Pick the options you need.
  3. 3.Download the result — a new workbook, not an edit of the original.

How this compares

There are three ways to do this conversion: in the browser (this page), through a server-side converter, or with a desktop app. The useful difference is not speed — it is where your file goes and how far the free tier actually reaches.

AspectThis toolUpload-based converters
Where the file is processedIn your browser, on this pageOn the vendor's servers, after an upload
Account requiredNoUsually — free tiers ask you to sign in before lifting a limit
Size you can process for freeNo size cap, no run limitA few files per hour, or a ~5–10 MB cap before a paywall
PriceFree. Pro is $9/month, and only buys larger files and AI featuresUsually a subscription — roughly $7–15/month as of November 2026
Works offlineYes, once the page has loadedNo
Time before work starts on a 20 MB fileImmediate — there is nothing to uploadDominated by the upload — about 16 s on a 10 Mbps uplink
What it cannot preserveFormulas become their last computed value; merged cells and styles are droppedThe same — the conversion is the same maths

Server-side converters are genuinely better at some things: very large files, sharing results with a team, keeping a conversion history, and automating batches from a script. For the case in front of you — one file, one format change, right now — they mostly add an upload wait and a sign-up form.

Frequently asked questions

Does it sort multiple columns?

One column, ascending or descending. For a multi-level sort, run it twice from the least important column to the most important one.

Why are blanks at the top?

Empty cells compare as empty strings, which sort first ascending. If blanks are noise, remove those rows first — that is what the remove blank rows tool is for.

Is my file uploaded to a server?

No. The workbook is opened and rewritten by JavaScript in this page. There is no upload request — you can disconnect the network after the page loads and it still works.

What happens to formulas and formatting?

This tool reads cell values and writes a clean new workbook. Formulas arrive as their last calculated value, and cell styling, merged cells, conditional formatting and comments are not carried over. If you need the original styling, keep the source file.

What is the file size limit?

30 MB per file. Larger workbooks are rejected before any processing starts, so a big file will not hang the tab.

What this kind of conversion cannot keep

Spreadsheet conversion is lossy by nature: a workbook carries formulas, styles, merged cells and multiple sheets, while CSV carries rows of text. This tool keeps values and order, recalculates nothing, and drops presentation on purpose. That is why it can run without a server — and why a converted file will not look like the original.

More in Spreadsheets & Docs