Refactored sort code out of CommentListModel and into its own class