dependencies must go from least to greatest.