Powershell

One Liners
Take the file (tc-words.txt) and sort it and get the unique list of lines and convert the lines to 1 line with a space using the join command
 * (Get-Content .\tc-words.txt | sort | Get-Unique) -join " "