From b36ff3a9c118c9058e5644c45ed110e5d3e7c45f Mon Sep 17 00:00:00 2001 From: Edward Betts Date: Mon, 25 Sep 2023 12:58:28 +0100 Subject: [PATCH] Reorder people on Github Wikidata report. --- main.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/main.py b/main.py index abeffd0..de9dacb 100755 --- a/main.py +++ b/main.py @@ -436,6 +436,8 @@ def github_wikidata() -> str: continue items.append((person, qid, wd_name, photo)) + items.sort(key=lambda i: len(i[0].name)) + return flask.render_template("github.html", items=items)