Improved teamlist sorting

Using quicksort to sort the teamlists instead of the old naive approach allows removing the auxiliary lists, should be more efficient and saves some lines too.

In some gametypes less score might be better (like race, but not all race gametypes), so I added a gametype setting which indicates that the score ordering of those teamlists should be inverted.

To make the scoreboard look nicer I've made it order by name if scores are equal.
I just realized that this may not be desired, because it unnecessarily diverts the chase order from the scoreboard order even more, so you may want to remove line 76 and 77 from g_gameteams.c.

As an alternative I made this version which uses a list of all non-spectators, sorted the same way as the teamlists, to determine the order of chasing people: https://github.com/hettoo/qfusion/tree/playersorting2.
This could be nice, because you can estimate how many times you will have to click to reach a certain player.
Edit: changed from sorting a global playerlist to concatenating all sorted player teamlists.

Although this results in the order being changed when score differences change, I actually find it more convenient than 'randomly' wandering through the scoreboard.