sort output alphabetically, as suggested by Charlotte.