Skip to content

Commit

Permalink
Fix sort mechanism
Browse files Browse the repository at this point in the history
  • Loading branch information
cgokmen committed Mar 5, 2025
1 parent 6c5a31f commit d387b91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/pull-sheets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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)
"
Expand Down

0 comments on commit d387b91

Please sign in to comment.