Tie breaker is done by head to head. Not GD. Italy beat Belgium so they are first regardless.
Between that and 4/6 third placed teams progressing, things are nice and confusing.
I miss the days of being able to look at a group table and instantly know who is going through and who isn't.