Add grouping by priority also in the homepage