fixed sorting of official results: newest go first

This commit is contained in:
Axel Uhl committed 2012-06-16 22:26:35 +02:00
1 parent ba6a2c7da0
commit b4bc71d1d6
1 file changed
+2 -2
@@ -434,8 +434,8 @@ public class EditableLeaderboardPanel extends LeaderboardPanel {
} else if (lowercaseBoatClassNames.contains(o2.getC().getA().toLowerCase())) {
result = 1;
} else {
// both don't seem to have the right boat class; compare by time stamp
result = o1.getC().getB().compareTo(o2.getC().getB());
// both don't seem to have the right boat class; compare by time stamp; newest first
result = o2.getC().getB().compareTo(o1.getC().getB());
}
return result;
}