📝 Text & List

Sort Lines

Sort lines alphabetically, reverse, by length, randomly. Removes duplicates optionally. Free.

Sort Lines

How to use the Sort Lines

1

Sort modes

Alphabetical: standard A-Z dictionary order. Numeric: treats each line as a number (handy for IDs, scores, prices). By length: orders by character count — useful for finding outliers. Random shuffle: Fisher-Yates shuffle for unbiased randomisation. Reverse: flips current order without sorting.

2

Options

Case-sensitive: when on, capitals sort before lowercase (apple after Banana). When off, "apple" and "Apple" are equal. Remove duplicates: keeps only the first occurrence of each line. Trim whitespace: removes leading and trailing spaces from each line before comparing.