in order to more closely match the way Xcode lays out its project file, use sorted lists for some of the entities.