Added a parameter to set the sort order of comments.