Processes self.resourceList, creating (if not already created)
3 more lists: self.sortedList, which is the resources that
have content or docdef changes and thus need to have their
dependencies expanded; self.filteredList, which is
the resources that have other changes; and
self.notDirectlyChangedList, which is resources with no changes.