kenneth's picture

Sunbird and Lightning display the calendars in the order of their creation. There is no easy way to rearrange the order each appears but to delete and recreate them in order you like.
 
A quick 'grep' show that they are kept in a file 'storage.sdb' which is a SQLite database.
 
I found a Firefox add-on "SQLite Manager' and use it to view the database. Two tables of interest are 'cal_calendars' and 'cal_calendars_prefs'.
 
By manipulating the values of 'id' on 'cal_calendars' table and the corresponding values of 'calendar' on 'cal_calendars_prefs' table, I was able to rearrange the calendars.