Is there any way for the api to return data sorted in ascending order?
you should be able to through the rest api
https://payloadcms.com/docs/queries/overview#sortStar
Discord
online
Get help straight from the Payload team with an Enterprise License.