Sort & dedupe lines

Sort lines alphabetically, numerically or by length, optionally removing duplicates and blanks.