In the group stage, teams were ranked according to points (2 points for a win, 1 point for a draw, 0 points for a loss), and if tied on points, the following tiebreaking criteria were applied, in the order given, to determine the rankings: • Points in matches among tied teams; •
Goal difference in matches among tied teams; • Goal difference in all group matches; • Goals scored in all group matches; • If more than two teams were tied, and after applying all head-to-head criteria above, a subset of teams were still tied, all head-to-head criteria above were reapplied exclusively to this subset of teams; • Drawing lots. ==Groups==