Browse Source

sort output

Davide Alberani 7 years ago
parent
commit
028be2669e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tools/count.py

+ 1 - 1
tools/count.py

@@ -27,7 +27,7 @@ def info(event):
                 data[dbkey] += 1
         total += 1
     print('Total registered: %d' % total)
-    for key, value in data.items():
+    for key, value in sorted(data.items()):
         print('%s: %s' % (key, value))
     print('')