Sort languages by code in Language::fetchLanguageNamesUncached

This is being used in API output in ApiQuerySiteinfo so having
it sorted is nicer.

Bug: T85406
Change-Id: I796112187d17337a1cc12d6752839263b53f40e1
Merge "Sort languages by code in Language::fetchLanguageNamesUncached"