Optimized ordering of external resources.