[FOLLOWUP][FEATURE] Extract dependency ordering out of DependencyResolver