I have many events that are all-day events, and it all starts at the same time. I create events in the order in which I would like them to appear in the full calendar view, but they always seem to be sorted differently.
How can I sort events alphabetically or by their identifier?
EDIT: Adding an Example Data Array. In the calendar, I expected the Supervisor event to appear every day, alphabetically before Tech1 and Tech2, and its identifier is the landlord's number, as well as the following events. Instead, I get a random order every day.
eg:
Day 2011-11-05 the order is displayed as Tech2, Tech1, Tech1, Tech1, Tech2, Supervisor.
Day 2011-11-06 the order is displayed as Supervisor, Tech1, Tech1, Tech1, Tech2, Tech2.
I require that the sorting be at least consistent from day to day and ideally be either in alphabetical order of the header or in sequential order of identifier.
var events=[ {id:1, title:'Supervisor',start:'2011-11-05T00:00:00-05:00',st_hours:10,ot_hours:0,allDay:true}, {id:2, title:'Tech2',start:'2011-11-05T00:00:00-05:00',st_hours:10,ot_hours:0,allDay:true}, {id:3, title:'Tech2',start:'2011-11-05T00:00:00-05:00',st_hours:10,ot_hours:0,allDay:true}, {id:4, title:'Tech1',start:'2011-11-05T00:00:00-05:00',st_hours:10,ot_hours:0,allDay:true}, {id:5, title:'Tech1',start:'2011-11-05T00:00:00-05:00',st_hours:10,ot_hours:0,allDay:true}, {id:6, title:'Tech1',start:'2011-11-05T00:00:00-05:00',st_hours:10,ot_hours:0,allDay:true}, {id:7, title:'Supervisor',start:'2011-11-06T00:00:00-05:00',st_hours:10,ot_hours:0,allDay:true}, {id:8, title:'Tech2',start:'2011-11-06T00:00:00-05:00',st_hours:10,ot_hours:0,allDay:true}, {id:9, title:'Tech2',start:'2011-11-06T00:00:00-05:00',st_hours:10,ot_hours:0,allDay:true}, {id:10, title:'Tech1',start:'2011-11-06T00:00:00-05:00',st_hours:10,ot_hours:0,allDay:true}, {id:11, title:'Tech1',start:'2011-11-06T00:00:00-05:00',st_hours:10,ot_hours:0,allDay:true}, {id:12, title:'Tech1',start:'2011-11-06T00:00:00-05:00',st_hours:10,ot_hours:0,allDay:true} ];
EDIT2: It seems this problem only exists in Google Chrome. Events are displayed in the order in which I expect them in both IE9 and FF8. Chrome 15, which I am developing, seems like the only browser.
Chrome
Fire fox 