Skip to content

Commit

Permalink
Try sorting
Browse files Browse the repository at this point in the history
  • Loading branch information
bpugh committed Nov 4, 2023
1 parent 5ad10e0 commit 2a8a5f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion update_readme.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
by_topic.setdefault(row["topic"], []).append(row)
index = ["<!-- index starts -->"]
index.append(f'{db["til"].count} TILs and counting...\n')
for topic, rows in by_topic.items():
for topic, rows in sorted(by_topic.keys()).items():
index.append("## {}\n".format(topic))
for row in rows:
index.append(
Expand Down

0 comments on commit 2a8a5f5

Please sign in to comment.