Not entirely sure what jQuery has to do with this, but a lot of forum software, including SMF has the option to reverse the post order in threads so that the newest posts are on the first page on the top. I would say it has to do with your database query. But I guess, if jQuery is handling the printing of the posts in a thread, you could reverse it there as well.