From what I could read in Sparx documentation here:
https://sparxsystems.com/enterprise_architect_user_guide/17.1/model_publishing/rearrangethepackageorder.html
It refers to the elements following the order in the Browser Window. I also tried other ways in the past, but realised that this consistently leads to the best results.