Sorting and filtering a table the way a person expects
Sorting sounds simple until a column holds numbers that a program reads as text. Then 100 comes before 20, because the character 1 comes before 2. Dates written as 05/01/2024 sort by day of the month. Names that start with a lower-case letter go after Z. This tool avoids all of that by reading each cell before comparing it. Two numbers are compared by size. Two dates written as YYYY-MM-DD are compared as dates. Everything else is compared as text, ignoring case, with the numbers inside text read as numbers, so item 2 comes before item 10.
You can sort by more than one column. The first sort decides the order, and the second decides only among rows that tie on the first, such as all the rows from the same region. Add a third for rows that still tie. Rows that tie on every sort column keep the order they had in the file, which is called a stable sort. That matters more than it sounds: if the file was in date order, sorting by region keeps each region's rows in date order. Blank cells always go to the bottom, in both directions, so empty values never crowd the top of a report.
Filters keep the rows you want and drop the rest. Text conditions are contains, does not contain, is, is not, starts with and ends with, and all of them ignore case. Is more than, is at least, is less than and is at most compare numbers with numbers and dates with dates, and a cell that is neither never passes them. That means n/a is never counted as more than 5, a mistake that text comparison makes quietly. Is blank and is not blank find or skip the rows with gaps. With two or more filters, choose whether a row must pass all of them or any of them.
The is condition also reads numbers as numbers, so is 1 matches a cell holding 1.0 or 1. A filter with an empty value is still applied: contains with nothing typed keeps every row. The count above the preview says how many rows match out of how many, and changes a moment after you stop typing, so a large file is not re-filtered on every key.
All of this runs in a background worker on this device, so files up to 200 MB are sorted without being uploaded. Excel files are read from their first sheet. The preview shows the first 100 rows of the result and the download holds every matching row in the new order. The file you opened is never changed, so you can try a different sort or filter as often as you like. To chart the result or check its columns, open the download in CSV Charts or the CSV Analyzer.