Trim/remove duplicated/sort strings

Source strings (one per line):

Options:

trim source strings
skip empty strings
remove duplicated strings
sort strings

Output strings