Adding sorting by upvote count, updated at, and categories.  Now have upvoteCount and flagCount per post.