Custom end point sorting

System Information
  • Strapi Version: 3.6.8
  • Operating System: ubuntu
  • Database: MySQL
  • Node Version: 14.17.6
  • NPM Version: 6.x
  • Yarn Version:

I have a custom endpoint to count daily posts and sort them by date in order, but I read the log screen and it showed the GET request with “/action?_sort=created_at:DESC”, I think this is done by default, how can I bypass it without this sorting in my custom endpoint?