How order posts from category by date and comment count?
The query you currently have will order the posts by their post_date property, which is an SQL column of the type datetime. This type stores the date, but also the time (hours, minutes and seconds). The second sorting option, comment_count, is only applied to posts with the same timestamp, i.e. that were posted at the … Read more