Sort Lines

Sort lines alphabetically, reverse sort, and optionally remove duplicates.