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