diff --git a/source/js/date/VCO.DateUtil.js b/source/js/date/VCO.DateUtil.js
index <HASH>..<HASH> 100644
--- a/source/js/date/VCO.DateUtil.js
+++ b/source/js/date/VCO.DateUtil.js
@@ -10,8 +10,8 @@ VCO.DateUtil = {
 
 	sortByDate: function(array) { // only for use with slide data objects
 		array.sort(function(a,b){
-			if (a.date.data.date_obj < b.date.data.date_obj) return -1;
-			if (a.date.data.date_obj > b.date.data.date_obj) return 1;
+			if (a.date.isBefore(b.date)) return -1;
+			if (a.date.isAfter(b.date)) return 1;
 			return 0;
 		});
 	},
refactor sortByDate to use date comparison (will help with #2)