+ CommentSortType::Hot => query
+ .then_order_by(comment_aggregates::hot_rank.desc())
+ .then_order_by(comment_aggregates::published.desc()),
+ CommentSortType::Top => query
+ .order_by(comment_aggregates::score.desc())
+ .then_order_by(comment_aggregates::published.desc()),