From 1971281ef163749488203f9ae3cb38b75f067adb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Hrb=C3=A1=C4=8D?= <david@hrbac.cz> Date: Fri, 20 Jan 2017 21:40:52 +0100 Subject: [PATCH] Module matrix case-insensitive sorting --- cluster_modules.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cluster_modules.py b/cluster_modules.py index 44221232c..6ee8869bd 100755 --- a/cluster_modules.py +++ b/cluster_modules.py @@ -56,7 +56,7 @@ for m,i in sorted(counts.items()): #print software.items() -for m in sorted(software.items()): +for m in sorted(software.items(), key=lambda i: i[0].lower()): software = m[0] versions = '' clusters = '' -- GitLab