Sort aggregate graphs correctly

Sort aggregate graphs by hostnames.
Merge pull request #213 from sylr/master

Sort aggregate graphs correctly