frontend: correctly sort teams for points in fifa-style tournaments' group phases