Sort language names case agnostically
This commit is contained in:
parent
828e9c1bb8
commit
3c7237e600
1 changed files with 1 additions and 1 deletions
|
@ -537,7 +537,7 @@ impl LanguageRegistry {
|
|||
.map(|l| l.config.name.to_string()),
|
||||
)
|
||||
.collect::<Vec<_>>();
|
||||
result.sort_unstable();
|
||||
result.sort_unstable_by_key(|language_name| language_name.to_lowercase());
|
||||
result
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue