Fix sorting: ignore case.

This commit is contained in:
Flancian 2020-11-16 13:45:17 +01:00
parent f0284bb8a6
commit 34a08af78c
1 changed files with 1 additions and 1 deletions

View File

@ -130,7 +130,7 @@ def all_nodes(include_journals=True):
# TODO: experiment with other ranking.
# return sorted(nodes, key=lambda x: -x.size())
return sorted(nodes, key=lambda x: x.wikilink)
return sorted(nodes, key=lambda x: x.wikilink.lower())
def all_users():
# hack hack.