FileGizmo — Data & CSV tools
Sort CSV rows by a column
Sort CSV rows by one selected column with text number or date comparison in your browser.
Working locally…
Preparing the browser worker.
Complete
Your file is ready
Simple by design
Sort CSV in three steps
FileGizmo sorts CSV data by one selected column without sending the file to a server. Choose a CSV and the local worker reads its headers. Select a column, ascending or descending direction, and text, numeric, or date comparison. The header stays at the top while data rows are reordered, previewed, and exported using the detected delimiter.
The sort is stable: rows with equal comparison values keep their original relative order, which prevents unrelated columns from changing unpredictably. Text comparison uses locale-aware, case-sensitive ordering. Numeric mode treats valid finite numbers as numbers and places invalid or blank values after valid values. Date mode compares parseable timestamps and similarly moves unrecognized values to the end. Because dates such as 03/04/2026 are locale-ambiguous, ISO-style dates are safer. CSV parsing occurs in chunks inside a browser worker so the page remains responsive. Formula-like cell values are escaped during export to reduce spreadsheet injection risk. Review the result before replacing the source file, since sorting deliberately changes row order and may affect systems that rely on it.
- 1
Choose a CSV file
- 2
Select the column direction and comparison type
- 3
Sort preview and download the CSV
Good to know
Frequently asked questions
Is the sort stable?
Yes. Rows with equal values retain their original relative order.
Which comparison types are available?
Choose text, numeric, or date comparison depending on the selected column.
What happens to the header row?
The header remains first and only data rows are reordered.
Does FileGizmo upload the CSV?
No. Parsing, comparison, and export run locally in a worker.