adds alphabetical sorting of result hash