Correctly sort scores