(Linux, Apache, PHP 5.2.17, Drupal 7.0)
The "Recent comments" block doesn't list the most recent comments strictly in reverse chronological order. Instead, it lists all the comments in the node that has the most recent comment, then all of the comments in the node that has the next most recent comment, and so on until the specified maximum number is displayed. I believe the natural expectation of a user would be to have comments listed by age regardless of the node to which they apply.
I believe the problem is in the comment_get_recent() function of comment.module, where the following line:
->orderBy('ncs.last_comment_timestamp', 'DESC')
should read as follows:
->orderBy('c.changed', 'DESC')
At least, that seems to have fixed it for me.
This orders the comments that appear according to the comment.changed field, which is the same field used to calculate the age of the comments. The problem with using the node_comment_statistics.last_comment_timestamp field is that all comments in the node share the same value.
Comments
Comment #1
numskull commentedSorry, did a more thorough search and found this was reported recently (and a working patch made) (Issue #1059608: Fix comment_get_recent ordering).