diff --git a/doorUpdater.py b/doorUpdater.py index 1cc9a66..0c682ab 100755 --- a/doorUpdater.py +++ b/doorUpdater.py @@ -113,6 +113,7 @@ def main(): data = getMembershipworksData() reader = csv.DictReader(StringIO(data)) members = list(reader) + members.sort(key=lambda x: x['Last Name']) if os.path.exists('/tmp/doorUpdaterLastHash'): with open('/tmp/doorUpdaterLastHash', 'r') as f: