prioritize resolve type order