Output is alphabetically sorted.