How to use Sort CSV
Sort the data rows in a CSV by one chosen column, preserving the header. Use ascending or descending order for a reference list, inventory file or review export.
- Open or paste the CSV, identify its delimiter and choose Column by name or number.
- Select Order and verify the first and last few exported records.
Example input
SKU,Item,Quantity 00104,"Pocket, notebook",2 00105,Pencil,3
Example use
Sort product codes so item2 comes before item10, or place a priority code near the top of a small import file.
Output and compatibility
The sort uses natural text ordering with numeric sequences and browser locale behavior. It does not infer date formats or offer a secondary sort control.
Troubleshooting
If US-style or European-style dates sort unexpectedly, normalize those values to a sortable representation such as year-month-day first.
Use Filter CSV to select a subset before ordering it.
Frequently asked questions
Can I sort without moving the header?
The header stays at the top; only data rows are reordered.
How does it handle Item2 and Item10?
Natural sorting treats the digits as numeric sequences.