rem: eventArray.sort( this.orderRawEventsByDate ); 
add: this.currentEvents.sort( this.orderRawEventsByDate ); 
context: CalendarEventDataSource.prototype.getAllEvents = function calEvent_getAllEvents( ){   // clone the array in case the caller messes with it      var eventList = this.gICalLib.getAllEvents();   var eventArray = new Array();      while( eventList.hasMoreElements() )   {      var tmpevent = eventList.getNext().QueryInterface(Components.interfaces.oeIICalEvent);            eventArray[ eventArray.length ] = tmpevent;   }   eventArray.sort( this.orderRawEventsByDate );   return eventArray;}
meta: 5459	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5459/4df5295cd98af0c1777ae5ddf7b755fa1a6daa89/calendarEvent.js/clean/calendar/resources/content/calendarEvent.js