Properly sorting content on the client side

This matches up the data with the client MiniMongo request and fixes a
sorting bug in the bats page.