Sort output alphabetically

I find it much easier to use the output when it is sorted.
As there are 2 lists it's better to sort in the program itself rather than trying to sort afterwards.