Fix Bug 9569 Vcard export order is not consistent

This commit is contained in:
prculley 2016-07-07 12:06:44 -05:00
parent 337f6d9c7a
commit a016457f5a

View File

@ -154,7 +154,7 @@ class VCardWriter:
self.count = 0
self.oldval = 0
self.total = self.db.get_number_of_people()
for key in self.db.iter_person_handles():
for key in sorted(list(self.db.iter_person_handles())):
self.write_person(key)
self.update()
return True