Skip to content

Commit 08d69c3

Browse files
Sort numbers
1 parent 23449e0 commit 08d69c3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

python/draft.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ def open_draft_viewer(outfile_path: str, entries: List[Tuple[int, str]]):
9797
count = str(entry[0]).ljust(5)
9898
order.append((entry, count,))
9999
# Sort by count
100-
order.sort(key=lambda x: x[1], reverse=True)
100+
order.sort(key=lambda x: int(x[1]), reverse=True)
101101

102102
for a, o in enumerate(order):
103103
n = a + 1

0 commit comments

Comments
 (0)