summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/ssh_node5_net.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ssh_node5_net.py b/src/ssh_node5_net.py
index e594f38..d2c38c9 100644
--- a/src/ssh_node5_net.py
+++ b/src/ssh_node5_net.py
@@ -64,7 +64,7 @@ def index():
top_passwords = db_handler.get_top('password')
histogram = db_handler.get_histogram_detailed()
- all_dates = list({d['date'] for d in histogram})
+ all_dates = sorted(list({d['date'] for d in histogram}))
by_ip = {}
for d in histogram:
if d['ip'] not in by_ip: