diff --git a/tildes/tildes/views/user.py b/tildes/tildes/views/user.py index 220a4d4..f5ced8a 100644 --- a/tildes/tildes/views/user.py +++ b/tildes/tildes/views/user.py @@ -48,7 +48,7 @@ def get_user(request: Request) -> dict: topics = query.all() merged_posts = sorted( - topics + comments, + comments + topics, # this order so topic comes first when times match key=lambda post: post.created_time, reverse=True, )