Severity: normal → enhancement
Summary: "Recent Folders" sorting has switched from case insensitive to case sensitive → improve locale sensitive sorting of folder names
Note that rather than repeatedly using localeCompare, it would be better to create an Intl.Collator instance and use it repeatedly, to save on work needed to set up collation resources.
Waldo, something like at https://dxr.mozilla.org/mozilla-central/rev/0418c9abdeb18b216301e91022aa289a45d5b426/browser/components/preferences/languages.js#108 so that we keep the Collator object in a global variable for the folder tree? If we set the language (first argument) to "undefined", will it pick up the UI language?
That looks about right. Passing |undefined| is probably right, but there's an outside chance something like |navigator.language| is better; I remember some fussiness about exactly how that relates to default language in some contexts. Probably |undefined| is right, tho, if that example does it that way.
You need to log in before you can comment on or make changes to this bug.