diff --git a/.github/workflows/pull-sheets.yml b/.github/workflows/pull-sheets.yml index 2cf2c1a6..999e4849 100644 --- a/.github/workflows/pull-sheets.yml +++ b/.github/workflows/pull-sheets.yml @@ -76,7 +76,7 @@ jobs: for file in files: with open(file) as f: combined.extend(json.load(f)) - combined.sort() + combined.sort(key=lambda x: (x['object'], x['message'], x['complaint'], x['processed'])) with open('bddl/bddl/generated_data/complaints.json', 'w') as f: json.dump(combined, f, indent=2) "