Index: stamper/stamper.py
===================================================================
--- stamper/stamper.py	(revision 13)
+++ stamper/stamper.py	(revision 19)
@@ -4,4 +4,5 @@
 from datetime import datetime, timedelta
 from os.path import expanduser, exists
+from collections import OrderedDict
 
 
@@ -105,6 +106,6 @@
 
     def details(self):
-        details = {}
-        totals = {}
+        details = OrderedDict()
+        totals = OrderedDict()
         for stamp in self.stamps:
             if stamp['customer']:
@@ -128,6 +129,6 @@
 
     def details_by_customer(self, customer):
-        details = {}
-        totals = {}
+        details = OrderedDict()
+        totals = OrderedDict()
         for stamp in self.stamps:
             if stamp['customer'] == customer:
