"Fifa's rankings take into account group stage results, progress in the competition and the quality of opposition.
The top four rankings mirrored the final positions in the tournament. "
I'm guessing they apply their fancy coca-cola ranking system to just the world cup games to get these results.