Files
medusa-store/packages
Victor Gerbrands 3f016d871a fix(admin-ui): sort supported languages alphabetically (#5479)
## What?
Added sorting to the `supportedLanguages` array in `packages/admin-ui/ui/src/i18n/index.ts`. This makes sure the languages in the dropdown are sorted alphabetically.

![image](https://github.com/medusajs/medusa/assets/42065266/aca6e5ab-f200-45bf-afb4-22d9bc1c9a66)

## Why?
As we're supporting more languages in the admin UI, this list was getting messy.  

## How?
By using `sort()` and `localeCompare()` on array declaration.

## Testing
Go to Medusa Admin locally, login and navigate to Settings > Personal information to test the language dropdown.
2023-11-14 15:09:57 +00:00
..
2023-11-10 10:28:21 +01:00
2023-11-10 10:28:21 +01:00
2023-11-10 10:38:47 +01:00
2023-11-10 10:38:47 +01:00
2023-11-10 10:38:47 +01:00
2023-11-10 10:28:21 +01:00
2023-11-10 10:38:47 +01:00
2023-11-10 10:38:47 +01:00
2023-11-10 10:28:21 +01:00
2023-11-10 10:28:21 +01:00
2023-11-10 10:28:21 +01:00
2023-11-10 10:28:21 +01:00