NagiosGen: Sort the hostgroup list

This prevents the hostgroup list from flipping at random.