Remove duplicate lines from text with options for case sensitivity, trimming, empty line removal and alphabetical sorting.