CSV Sorter

Sort CSV and spreadsheet data by one or more columns. Numbers, dates and text are detected, ascending or descending per column, with natural sorting and blank handling.

  • Free, no sign-up
  • Runs in your browser
  • Your data stays private

How to use the CSV Sorter

  1. Paste your table.
  2. Type the sort columns, such as "Country, Age desc".
  3. Copy the sorted table.

Why use this CSV Sorter

  • Multi-column sortSort by several columns, each ascending or descending.
  • Smart typesNumbers sort by value and dates by time, not as text.
  • Natural sortingOptional natural order so item 2 comes before item 10.
  • Blank controlPut empty cells first or last.

Frequently asked questions

How do I sort a CSV by two columns?

Enter both names separated by a comma, such as Country, Age. The second column breaks ties.

How do I sort high to low?

Add desc after the column name, for example Age desc.

Will numbers sort correctly?

Yes. A column of numbers is sorted by value, so 9 comes before 10.

Related tools

More Spreadsheet & CSV tools

User Reviews

–
No ratings yet
Write a review
Your rating *

Your email is never published. Reviews are moderated, and links aren't allowed.

What users are saying

No reviews yet

Be the first to share your experience with this tool — your feedback helps others.