Formatting
Alphabetical order and numeric order disagree the moment a line contains a number. In plain character order, row10 comes before row2, because the character after “row1” decides it. Natural sort, which is what this page opens on, compares the number as a number, so row1, row2, row10.
The Operation menu still offers the other orders. Ascending is English alphabetical order without the numeric trick: row1, row10, row2. Descending is that order flipped: row2, row10, row1. Length sort orders by the number of characters, shortest first, and keeps the original relative order when two lines are the same length. “so”, “dryer”, “odd socks” become so, dryer, odd socks.
Case uses ordinary English comparison. “A” comes before “b”. “row2” comes before “Row2” on the natural sort of a mixed list, and both come before “row10”. A one-line paste such as “Odd socks in the dryer.” has nothing to reorder. Ignore case does not affect sort. It is only read while deduplicating.
row10 row2 row1 Operation left on natural sort.
row1 row2 row10 Alphabetical order of the same three lines would be row1, row10, row2.
Oddsock runs this in your browser. It is free, it does not upload the work, and it does not ask for an account.
The number inside the line is compared as a number. Alphabetical order compares characters, so row10 comes first because 1 comes before 2.
Lines are ordered by how many characters they contain, shortest first. Equal lengths keep the order they had in the paste, because the sort is stable.
No. That control is used only by dedupe. Sort uses English comparison, so A comes before b.
No. Each line moves as a whole. “Odd socks in the dryer.” on its own line stays spelled the same way.
Choose descending. That flips alphabetical order. It is not a numeric reverse of the natural sort, so row10 and row2 will not simply swap places the way a number sort would.