Closed mortis0 closed 3 years ago
Instead of first filling the select element with options, then reordering the options, it is easier to sort the data by the localised names first, then fill the select element. Which is what I implemented in eb779b3c8a2ac26f22c219adaa08f0fce33f2d38 – should be less code and less DOM restructuring. Thank you however for implementing a fix for your proposal as well! :yellow_heart:
Sort civ dropdown according to the language modified: js/main.js