Sort lines alphabetically, by length, or shuffle them; dedupe and drop empties too.
Maximum input: 100,000 characters and 20,000 lines. Language collation is not numeric sorting and depends on the chosen language. Lengths count graphemes; output uses LF.