sort hostgroups so they don't get updated on each run