String Array Sort

Sort newline-separated strings alphabetically, descending, or by length with optional dedupe.