Sorting dhtmlxcalendar column with date and time

I have a dhtmlXGrid that has a read only column of type dhtmlxcalendar. This column has both a date and time value. For example: “Jan 3, 2011 11:47 AM”. I can only get the column to order by date value. How can I get this column to order by both date and time? Below is a code sample of a couple of things I tried.
Thanks

	    		deployHistoryGrid = new dhtmlXGridObject("historygridbox");
	    		deployHistoryGrid.setEditable(true);
	    		deployHistoryGrid.setDateFormat('%b %e, %y %h:%i %f');
	    		deployHistoryGrid.init(); 	

	    		deployHistoryGrid.attachEvent("onDhxCalendarCreated",function(calendar){
	    			calendar.setDateFormat('%b %e, %y');
	    			calendar.enableTime(true);
	    			calendar.tp.setTimeFormat('%h:%i %f');
  	    			});

You should create custom sorting type docs.dhtmlx.com/doku.php?id=dhtm … om_sorting