Always sort translators alphabetically

This commit is contained in:
Simon Kornblith 2012-02-12 19:30:32 -05:00
parent 3510e1dda8
commit c5a2572c91

View file

@ -416,6 +416,10 @@ function haveTranslators(translators, type) {
translatorTestViews[type] = [];
translatorTestViewsToRun[type] = [];
translators = translators.sort(function(a, b) {
return a.label.localeCompare(b.label);
});
for(var i in translators) {
var translatorTestView = new TranslatorTestView();
translatorTestView.initWithTranslatorAndType(translators[i], type);