On occasion, the import fails because of the order of components within the XML, even if the components are all in the same maintenance unit. Is there any way to address this other than manually reordering items within the XML file?
The XML extract is ordered using an internal indexing which we cannot see. For now, re-order the XML manually. You may also consider raising an enhancement request to improve the automatic ordering of XML so it considers dependencies.
Source: Office Hours 2020-10-31