diff --git a/web/src/components/l10n/LanguageSwitcher.jsx b/web/src/components/l10n/LanguageSwitcher.jsx
index a6a26eca84..e2fddf2d2b 100644
--- a/web/src/components/l10n/LanguageSwitcher.jsx
+++ b/web/src/components/l10n/LanguageSwitcher.jsx
@@ -36,9 +36,9 @@ export default function LanguageSwitcher() {
changeLanguage(value);
}, [setSelected, changeLanguage]);
- const options = Object.entries(languages).map(([id, name]) => {
- return ;
- });
+ // sort by the language code to maintain consistent order
+ const options = Object.keys(languages).sort()
+ .map(id => );
return (
<>