diff --git a/src/api/endpoints/posts/trend.ts b/src/api/endpoints/posts/trend.ts index 0f0ea4876c..46f682fb1f 100644 --- a/src/api/endpoints/posts/trend.ts +++ b/src/api/endpoints/posts/trend.ts @@ -66,6 +66,7 @@ module.exports = (params, user) => new Promise(async (res, rej) => { limit: limit, skip: offset, sort: { + _id: -1, repost_count: -1 } });