List ilegal letters only once

Before the ilegal letters are printed out the list is sorted and all the
duplicates are removed, so the an ilegal letter is only listed once.