diff -r 1cb585403212 nml/grfstrings.py
--- a/nml/grfstrings.py Sat Mar 04 19:32:22 2017 +0100
+++ b/nml/grfstrings.py Sat Mar 04 19:57:24 2017 +0100
@@ -944,7 +944,7 @@
parsed_string += SET_STRING_GENDER[str_type] + '\\{:02X}'.format(self.genders[self.strings[string_id].gender])
if len(self.strings[string_id].cases) > 0:
parsed_string += BEGIN_CASE_CHOICE_LIST[str_type]
- for case_name, case_string in list(self.strings[string_id].cases.items()):
+ for case_name, case_string in sorted(self.strings[string_id].cases.items()):
case_id = self.cases[case_name]
parsed_string += CHOICE_LIST_ITEM[str_type] + '\\{:02X}'.format(case_id) + case_string.parse_string(str_type, self, lang_id, string.params)
parsed_string += CHOICE_LIST_DEFAULT[str_type]