You won't find a practical solution here, but still a fascinating discussion of the mathematics of different voting systems and why there's no perfect answer for which is best.

How Voting Is Like a Klein Bottle | Quanta Magazine
A new topological model connects a centuries-old voting paradox to a surface with no distinct inside or outside.
quantamagazine.org