FeedRepository sorting

Hi community,

I’m encountering an issue with the method FeedRepository.queryGlobalFeed in Amity for React Native. The posts are not being returned in the expected order. Here’s an example of the ordering I’m currently getting:

["2024-10-04", "2024-09-26", "2024-10-03", "2024-06-28", "2024-06-07", "2024-05-20", "2024-06-11", ...]

I would expect the posts to be sorted by their creation date (createdAt), but that doesn’t seem to be the case, and I can’t modify the default ordering. Could you provide any guidance or solutions to address this?

Hello @guillermomachado , it looks like your feed is currently sorted by custom ranking/engagement: Custom Post Ranking | Amity Docs. If you’d like to switch to chronological order, please reach out to our support team at support@social.plus.

Thank you for your response.

1 Like