Relation Order not correct in api Response

Since upgrading to Strapi 5 the order of the ralations in the backend are not the same in the api response. I figured out, that it is sorted by the latest update. So when i update an entry it comes last in the relations array.

I couldnt find any issue or question on the discord. Is this known?

My Setup

  • Strapi 5.1.1
  • Mysql Database (latest version)

This topic has been created from a Discord post (1300410263446749214) to give it more visibility.
It will be on Read-Only mode here.
Join the conversation on Discord

usually, where you have your relation from table A to table R, you have that drag handle to sort the items of R. The sort field for the table R itself can be set in its view configuration. But for the relation A->R the values for manual sorting lives inside the relation table A_R_lnk