From bc61cc71ca6c5782d7e9a7c3a7be0f161c912070 Mon Sep 17 00:00:00 2001
From: madsmpedersen <m@madsp.dk>
Date: Mon, 1 Feb 2016 11:10:34 +0100
Subject: [PATCH] sorts files

---
 wetb/dlc/high_level.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/wetb/dlc/high_level.py b/wetb/dlc/high_level.py
index de50290..56d5996 100644
--- a/wetb/dlc/high_level.py
+++ b/wetb/dlc/high_level.py
@@ -255,7 +255,7 @@ class DLCHighLevel(object):
                 if files:
                     f_prob = self.probability(props, files[0], files) / len(files)
                     f_hours_pr_20year = 365 * 24 * years * f_prob
-                    for f in files:
+                    for f in sorted(files):
                         fh_lst.append((f, f_hours_pr_20year))
         return fh_lst
 
-- 
GitLab