The current sorting algorithm uses plain python sort to get the top 5 songs.
The current implementation produces non deterministic results when many songs have the same vote count. Using better things like itertools could produce much better results.
The current sorting algorithm uses plain python sort to get the top 5 songs.
The current implementation produces non deterministic results when many songs have the same vote count. Using better things like itertools could produce much better results.