[#781] Load dependencies in order of the dependencies.yml file

This fixed lighthouse issue #781