Added sort options for comments.

I added sort options to the retrieval of comments.