sorting on forum, made classpage functional, added upvotes and downvotes to forum