Strapi update from 4.8.2 to 4.25 loses date sorting

System Information
  • Strapi Version: 4.25
  • Operating System: mac
  • Database: sqlite
  • Node Version: 20.10.0
  • NPM Version: 10.2.3
  • Yarn Version: 1.22.22

hi i migrated my strapi project from 4.8.2 to the latest stable version 4.25
i noticed my frontend breaks because of a failing fetch over the backend api
localhost:1337/api/products?locale=it-IT&populate=deep%2C4&sort=date%3Adesc&pagination%5Blimit%5D=-1

the error i receive from strapi is the following
{“data”:null,“error”:{“status”:400,“name”:“ValidationError”,“message”:“Invalid parameter date”,“details”:{}}}

how can i sort based on the date in strapi@4.25?