accidentally made it worse... this is the real fix i think maybe
diff --git a/dev.js b/dev.js
index 3f2487f..73efb48 100644
--- a/dev.js
+++ b/dev.js
@@ -540,8 +540,8 @@
     var keyA = a.data[a.data.length - 1],
     keyB = b.data[b.data.length - 1];
     // Compare the 2 dates
-    if(keyA < keyB) return 1;
-    if(keyA > keyB) return -1;
+    if(keyA < keyB) return -1;
+    if(keyA > keyB) return 1;
     return 0;
   })
     },  options: {}