Fix sorting bug for rankings table (Fixes #2)
Merge branch 'master' into development