endoflinereport.py: sort generation during output

This commit is contained in:
mb06cs authored and GitHub committed 2018-01-06 13:32:43 +01:00
1 parent ac593d814d
commit 6b42d71158
1 file changed
+1 -1
+1 -1
View File
@@ -169,7 +169,7 @@ class EndOfLineReport(Report):
self.doc.end_paragraph()
self.doc.start_table('EolTable', 'EOL-Table')
for generation, handles in self.eol_map.items():
for generation, handles in sorted(self.eol_map.items()):
self.write_generation_row(generation)
for person_handle, pedigrees in handles.items():
self.write_person_row(person_handle)