Fixed submission to leaderboard

It now submits correctly

TODO: check max_submissions and throw an error if over!
Fixed result sorting.

Final results are always "ranked" in the left most column