fixes upvote sorting on page