Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/readers.py
diff options
context:
space:
mode:
Diffstat (limited to 'readers.py')
-rw-r--r--readers.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/readers.py b/readers.py
index 21dd34a..61fe688 100644
--- a/readers.py
+++ b/readers.py
@@ -43,7 +43,10 @@ class StopWatch():
def marks_to_chart_data(self, num=0, chart_data=[]):
marks_count = 0
- for i in self.data[-1][num]:
+ marks = self.data[-1][num]
+ marks.sort()
+
+ for i in marks:
marks_count += 1
chart_data.append((str(marks_count), round(i, 2)))