Sort lines of text
Paste one item per line, choose Ascending for A to Z or Descending for Z to A, then copy the sorted text. Use it to organize names, filenames, tags, or one-column lists.
Clean up the list while sorting
Turn on Trim each line to remove spaces at the edges and Remove blank lines to skip empty or whitespace-only rows. With Ignore case and Remove duplicate lines on, the list pear, Apple, apple becomes Apple, pear in ascending order. The first spelling of each duplicate is kept.
How numbers and mixed case are sorted
The sorter compares text character by character using UTF-16 order. For example, 10 comes before 2. Turn on Ignore case to sort uppercase and lowercase spellings together. A final line break counts as an empty line, which you can drop with Remove blank lines.