changes the order of some headers because of changes in itemdomains.