- Strapi Version: v4.1.7
- Operating System:
- Node Version: v16.15.0
- NPM Version: 8.1.2
- Yarn Version: 1.22.17
On my local machine when I run strapi (sqlite) on dev mode and I make a api request (rest/graphql) I get the results sorted by id/createdAt from oldest —> newest.
But when I deployed to heroku (production mode PostgreSQL) and I make the request I get the results sorted by updatedAt from oldest —> newest.
My question is: How can I make my production version behave the same as my developement version?
in other words How can I make strapi sort entries by id/createdAt by default?