If we can't figure out a way to compute the rankings, I suggest running an election with 1 seat, then with 2 seats, then with 3 seats, etc. to compute the ranking. I think the election algorithm should be the same one used as for the council elections.