Sort language names alphabetically on taxon page according to used language

It’s a minor thing, but annoying nonetheless.

If running the site in a language other than English, on the taxa page, the names of the languages and resulting sort order of them are based on the English names of the languages. Can they be properly sorted based on the translated string ?

I’m not sure when this was implemented, but it is so now: