index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
author | codefiles <11915375+codefiles@users.noreply.github.com> | 2023-10-09 06:40:59 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-09 21:40:59 +1100 |
commit | dc69acd4b43931f9fd3a267d78834d1a38fbb10f (patch) | |
tree | 2b773ea48d70c45a4c3381963d74e9ca136f7968 /archinstall/lib/locale/locale_menu.py | |
parent | edbc13590366e93bb8a85eacf104d5613bc5793a (diff) |
-rw-r--r-- | archinstall/lib/locale/locale_menu.py | 2 |
diff --git a/archinstall/lib/locale/locale_menu.py b/archinstall/lib/locale/locale_menu.py index 729b3b6e..75cc1332 100644 --- a/archinstall/lib/locale/locale_menu.py +++ b/archinstall/lib/locale/locale_menu.py @@ -139,7 +139,7 @@ def select_kb_layout(preset: Optional[str] = None) -> Optional[str]: """ kb_lang = list_keyboard_languages() # sort alphabetically and then by length - sorted_kb_lang = sorted(sorted(list(kb_lang)), key=len) + sorted_kb_lang = sorted(kb_lang, key=lambda x: (len(x), x)) choice = Menu( _('Select keyboard layout'), |