rem: var ad = a.startDate || a.entryDate; var bd = b.startDate || b.entryDate; 
add: var ad = a.startDate || a.dueDate; var bd = b.startDate || b.dueDate; 
context:         function compare(a, b) {            var ad = a.startDate || a.entryDate;            var bd = b.startDate || b.entryDate;            return ad.compare(bd);        }
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/4f00c557dca805987089097023625716754c766c/agenda-tree.js/buggy/calendar/lightning/content/agenda-tree.js