diff --git a/django/contrib/comments/feeds.py b/django/contrib/comments/feeds.py
index 232fe29..d01449c 100644
a
|
b
|
class LatestCommentFeed(Feed):
|
31 | 31 | where = ['user_id NOT IN (SELECT user_id FROM auth_users_group WHERE group_id = %s)'] |
32 | 32 | params = [settings.COMMENTS_BANNED_USERS_GROUP] |
33 | 33 | qs = qs.extra(where=where, params=params) |
34 | | return qs[:40] |
| 34 | return qs.order_by('-submit_date')[:40] |
35 | 35 | |
36 | 36 | def item_pubdate(self, item): |
37 | | return item.submit_date |
38 | | No newline at end of file |
| 37 | return item.submit_date |