Hello,
Screens and Element components rendering order depends on the order in the hierarchy and also on their assigned layers. If you have a specific desired order that you want to render things then either place them in the correct order in the hierarchy of create separate layers in your settings and assign a different layer on each screen or element.
More on layers here https://developer.playcanvas.com/en/user-manual/graphics/layers/ .