Sort the badges on the user profile page

Badges are now ordered on the user profile page, and the user_badges_controller stopped doing two different things in one method.

I also verified that this does not break the `/badges` page (the other participant in the two-things method).

Proof that the ordering works:

![image](https://cloud.githubusercontent.com/assets/627891/4035536/e3c6a08a-2c90-11e4-9b9a-c7ea1fe72f14.png)