Browse Source

Sort items by name

konis^2
Graham Northup 4 years ago
parent
commit
9902b5e83b
Signed by untrusted user: grissess GPG Key ID: 5D000E6F539376FB
  1. 1
      app/items.py

1
app/items.py

@ -12,4 +12,5 @@ def get_items():
tail = '\n'.join(lines[2:])
items_list.append((header,tail))
items_list.sort(key=lambda pair: pair[0])
return items_list
Loading…
Cancel
Save