Hello,
I have just added a few new languages to my Prestashop and I noticed that order of languages displayed is different is a few places. In some places languages are displayed according to their ID, but in some places the order is totally random. Here's an example:
This is the order of the languages in New feature section. This is the ocrrect order according to the ID of the language presented on the International -> Localization -> Languages.

And this is the order of languages when I am adding a new category - it's ordered randomly.

I prefer the display according to the ID everywhere because it is easier to add new things or modify something because I know the position of all languages on the list with jsut a quick look. With random order I have stop for a moment to find the langauge I want to work with. Can you help?
Thanks for opening this issue! We will help you to keep its state consistent
Hi @banan44,
Thanks for your report.
I manage to reproduce the issue.

In fact, all pages migrated to Symfony, the languages are randomly ordered

In the legacy page, they are ordered by ID.

To reproduce the issue:
I鈥檒l add this to the debug roadmap so that it鈥檚 fixed. If you have already fixed it on your end or if you think you can do it, please do send us a pull request!
Ping @PrestaShop/prestashop-product-team, this a migration regression.
Thanks!
Hi @khouloudbelguith & @banan44, thanks for the issue and explanation! I agree, it would be more relevant to have the languages organized according to their ID. :-)
I'll list all pages containing a language selector so that it can be fixed and harmonized for the 1.7.8 version.
As stated yesterday, here is the list of all the pages (migrated and not-migrated-yet-but-soon-to-be) impacted:
... and the language selector in the front office in case it also needs to be reworked!