Sort the problems on contest page by their total points.

Fix #16.