Sort the output alphabetically. (see #10861)