Sort Method for NodeCommentFragment