diff --git a/files/routes/comments.py b/files/routes/comments.py index 4b0bc5fdd..2d6591b81 100644 --- a/files/routes/comments.py +++ b/files/routes/comments.py @@ -739,7 +739,7 @@ def commenters(v, pid, time): Comment.parent_post == pid, Comment.created_utc < time-1, User.id.notin_(BOT_IDs), - ).all() + ).order_by(User.id, Comment.created_utc).all() users = sorted(users, key=lambda x: x[1])