La Liga differs from some other leagues in that teams’ head-to-head records are used to separate them if they are equal on points. Whichever team has the best goal difference in the two matches will be placed highest if the points are equal. If head-to-head goal difference is the same, goal difference over the entire season is used, and then goals scored.
O I thought it was like England, thanks for that. Seems fairer though.