Change the order of dependencies.