diff options
author | Keith Bostic <keith@wiredtiger.com> | 2013-03-21 10:59:11 -0400 |
---|---|---|
committer | Keith Bostic <keith@wiredtiger.com> | 2013-03-21 10:59:11 -0400 |
commit | 4756df0f9095b2613c7ecb95ad9ecbc25d43ea7c (patch) | |
tree | c81525f2d00e2084ba96596496ba0c541ecd39d2 /tools | |
parent | 96d316e160e747c0f7e98a009dae6eef35a642f5 (diff) | |
download | mongo-4756df0f9095b2613c7ecb95ad9ecbc25d43ea7c.tar.gz |
Now there are multiple sets of objects, sort them so objects group
together.
Diffstat (limited to 'tools')
-rw-r--r-- | tools/statlog.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/statlog.py b/tools/statlog.py index 79e50a21c46..ef74b2812aa 100644 --- a/tools/statlog.py +++ b/tools/statlog.py @@ -90,6 +90,6 @@ for line in fileinput.input(sys.argv[1:]): # Plot each entry in the dictionary. rno = 0 -for entry in d.iteritems(): +for entry in sorted(d.iteritems()): rno = rno + 1 plot(entry[0], entry[1], "%03d" % rno) |