adds priorities to results/groups