ordering for components

Hello I would like to ask the following question: I am making a request by api to a collection of strapi which has a component as a field and in the request I am sending a sort but by the collection, the data is returning it to me badly sorted and I wanted to know if strapi v4 can do that kind of sorting by components or it is not possible yet.

Look at beta.4.6.0-beta.1 it has relationship reordering and I think that that is what you are looking for.

I use strapi version 4.2.2.2 and in the collection I want to sort a component and it does it but it does not deliver it 100% sorted.

I would say update to an newer version of strapi will most likely fix it/

Could you please confirm if upgrading to version 4.6 is ok since I have not been able to upgrade to test it?

“dependencies”: {

"@_sh/strapi-plugin-ckeditor": "4.6.0-beta.1",

"@strapi/plugin-i18n": "4.6.0-beta.1",

"@strapi/plugin-seo": "4.6.0-beta.1",

"@strapi/plugin-users-permissions": "4.6.0-beta.1",

"@strapi/provider-email-amazon-ses": "4.6.0-beta.1",

"@strapi/strapi": "^4.6.0-beta.1",

Only @ strapi packages have that version 4.6.0 release all none strapi packages have there own numbering way also for production it is not save to update to 4.6.0-beta you should what you can however do is clone your database and strapi and run it on a copy to test it out