rem: if (r==0) { if ( eventA.title < eventB.title ) r=-1; if ( eventA.title > eventB.title ) r=1; 
add: if (r==0) { var titleA = eventTitleOrEmpty(eventA); var titleB = eventTitleOrEmpty(eventB); return ( titleA < titleB ? -1 : titleA > titleB ?  1 : 0); 
context: CalendarEventDataSource.prototype.orderEventsByDisplayDate = function calEvent_orderEventsByDisplayDate( eventA, eventB ){   var r=eventA.displayDate - eventB.displayDate;   if (r==0)   {      if ( eventA.title < eventB.title ) r=-1;      if ( eventA.title > eventB.title ) r=1;   }     return(r);}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/1c05273289c16f41fc8a9fa43cfc19577a6efa84/calendarEvent.js/buggy/calendar/resources/content/calendarEvent.js