Order CSV rows by a selected column in ascending or descending text or numeric order.
The frame below runs the same code as this page, in the reader's own browser. Nothing is sent to us, and nothing is sent to you.
Pick a dark background and the text and panels follow it, so the frame stays readable on a dark page.
The parser separates the header, compares one selected column as text or number, and serializes the reordered records. Numeric mode avoids lexical ordering for quantities.
name,age,department Carol,35,Design Alice,30,Engineering Bob,25,Marketing
name,age,department Alice,30,Engineering Bob,25,Marketing Carol,35,Design
Inventory lists sort stock, contact files sort surnames, and logs sort timestamps for triage.