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:     [this.today, this.tomorrow, this.soon].forEach(function(when) {        function compare(a, b) {            var ad = a.startDate || a.dueDate;            var bd = b.startDate || b.dueDate;            return ad.compare(bd);        }        when.events.sort(compare);    });
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/aec66aac795073f062a04eb04fedf8c40ac94f4e/agenda-tree.js/clean/calendar/lightning/content/agenda-tree.js