// Sort, deduplicate, and clean up lines of text
Sort any list of lines alphabetically, reverse alphabetically, by length, or randomly. Remove duplicates, empty lines, and control case sensitivity. Useful for sorting imports, deduplicating lists, cleaning log output, and organizing data.