Index: tools/tickprocessor.py |
diff --git a/tools/tickprocessor.py b/tools/tickprocessor.py |
index 95e6e50f9ceaed8af6d10455fc59eba67983bdf9..cc540d3dba6aad737bd517ba829f7cd6b91763b5 100644 |
--- a/tools/tickprocessor.py |
+++ b/tools/tickprocessor.py |
@@ -411,7 +411,7 @@ class TickProcessor(object): |
number_of_accounted_ticks -= self.unaccounted_number_of_ticks |
number_of_non_library_ticks = number_of_accounted_ticks - self.number_of_library_ticks |
- entries.sort(key=lambda e:e.tick_count, reverse=True) |
+ entries.sort(key=lambda e: (e.tick_count, e.ToString()), reverse=True) |
for entry in entries: |
if entry.tick_count > 0 and condition(entry): |
total_percentage = entry.tick_count * 100.0 / number_of_accounted_ticks |