reordering resources so services can be notified correctly