If teams can not be separated by that then.
Russian Federation and Uruguay have both qualified.
Earlier, Portugal coach Fernando Santos called Iran "the best Asian team" at the moment.
Hierro, who took charge for the showpiece, said he could see similarities between his group and the successful 2010 team.
In a match that was more competitive than most thought it would be, Portugal once again failed to impress, but got the result it needed.
Wins or draws for Brazil against Serbia and Switzerland against Costa Rica will send both through. The 25-year-old goalkeeper will have to be at his very best to thwart Portugal's main man, who will be hungry for more goals after bagging four in his first two games.
Pic: TwitterThe World Cup is nearly to the knockout stage, which begins on Saturday, and while some teams have already made it through to the round of 16, many are doing the maths to see how they can make it.
If all these elements are equal then there will be a drawing of lots to decide their final group positions. Should there still be no victor, fair play points will be tallied.
With one game left to play, the World Cup group stages will begin to be decided. The Danish side needs a point (against France) to qualify; they may also bank on Peru which needs to beat Australia.
On Sunday, June 24, Japan and Senegal were locked in a 2-all draw, Colombia secured a 3-0 victory against Poland and England's 6-1 victory against Panama grabbed the headlines. A draw would require Spain to lose by at least two goals for Iran to advance.
Group victor plays runner-up in Group D. Runner-up plays Group D victor.
Croatia are through. Argentina, Iceland or Nigeria could all join them in the next round. Germany can still qualify with a two-goal or more win-margin. Argentina need to win, and hope Iceland don't beat Croatia.
The victor of Group B will play the loser of Russian Federation vs Uruguay in the last 16, with the runner up playing the victor.
"He went to VAR three times and considered two penalties and one yellow card". The winners of Group E face the second-placed team in Group F.
A draw for Brazil against Serbia will be enough for a place in the knockout stage.
After the nightmares that are Groups E and F, Group G is remarkably straightforward. A win would take Serbia through and a draw could be enough if Switzerland lose by two. The South Americans, behind a winning free-kick goal from Luis Suarez, pounded Russian Federation 3-0 to win the group with nine out of nine possible points.
While Morocco may be bottom of the table but they have not gone down without fight.