sort agencies alphabetically, fixes #7