fixes upvote sorting on page
Merge pull request #9 from nifengle/upvote-error

fixes upvote sorting on page