NagiosGen: Sort the hostgroup list

This prevents the hostgroup list from flipping at random.
Merge pull request #145 from stgraber/nagios-fixes

NagiosGen: Sort the hostgroup list