소스 검색

sort result

Jens Keim 5 년 전
부모
커밋
106442d67f
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      code/Core/Statistics.py

+ 1 - 1
code/Core/Statistics.py

@@ -262,7 +262,7 @@ class Statistics:
 
         inverted_table["Interval count: "] = len(inverted_table[final_names[0]])
 
-        return inverted_table.items()
+        return sorted(inverted_table.items())
 
     @staticmethod
     def write_list(desc_val_unit_list, func, line_ending="\n"):