Sort lines of text alphabetically, by length, or in reverse — with optional duplicate removal.
Sorting lines alphabetically is useful for organising lists, creating glossaries, sorting CSV rows, preparing data for import, and arranging bibliography entries. Sort by length to find the shortest or longest items in a dataset.