ALM-379 make ordering of groups consistent between actions