Never mind, I learned today, it must be because of the matches played between the teams, and the goal difference between us.

I always thought it was just goal difference that was the tie breaker but it is not.

Sorry to waste your time.