frontend: improved sorting of teams in round-robin-phases (still not 100% accurate, though)

For perfect accuracy, the goal difference would need to be known. However, at this point in the presentation, the data is not available.
The clean fix (TODO) would be to keep the goal difference as a second criteria in the database.