
Sort and filter CSV rows
Sort a CSV by one column, as text or as numbers, ascending or descending, and keep only rows matching a 'col op value' filter (=, !=, >, <, >=, <=, contains, startsWith). Runs entirely on your device.
Sort and filter CSV rows applies where first, one col op value test using =, !=, >, <, >=, <=, contains or startsWith. It then sorts by sortBy as text, or as numbers with numeric on. A comparison against a non-numeric cell is refused rather than coerced. Only one filter condition runs per pass, so two conditions need two runs.
Questions
What operators does where support?
=, !=, >, <, >=, <=, contains and startsWith, written as "column op value".
What happens with a comparison against a non-numeric cell?
The tool refuses, naming which cell or value can not be read as a number.
Can I filter and sort by different columns at once?
Yes, where runs first, then sortBy sorts whatever rows are left.
What does numeric do?
It switches the sort comparison from text order to numeric order for the sortBy column.
Can I combine two filter conditions?
Not in one pass; the where field takes exactly one column op value expression, so a second condition needs a second run.
What does the summary line report?
How many rows went in, how many came out, and which filter and sort were applied.