Sort CSV Rows

Sort CSV Rows lets you sort CSV data rows by one column using numeric-aware English collation. Enter your own values or load the worked example.

Method and calculation

Sort CSV data rows by one column using numeric-aware English collation.

Inputs and settings

Sort CSV Rows accepts CSV; Sort column (1-based) (minimum 1, maximum 10000).

Worked example

Sort CSV Rows example — CSV: "name,score\nBob,90\nAlice,80"; Sort column (1-based): 1. Computed output: name,score Alice,80 Bob,90

Output and limitations

Sort CSV Rows: Input is treated as plain text; it is never executed.

Technical references: RFC 4180 CSV format

Sort CSV Rows FAQs

Sort CSV Rows applies the following rule to your input: Sort CSV data rows by one column using numeric-aware English collation. The worked example on this page uses the same processor as the result button.
Sort CSV Rows has these boundaries: Input is treated as plain text; it is never executed. Start by checking the csv field against the units or format shown.
Sort CSV Rows provides this sample: name,score Alice,80 Bob,90. Use the sample button to reproduce it, then replace the inputs with your own values.