The hierarchy order matters if an Overlay is the parent of the widget; if the parent is a Canvas, then zOrder in the details panel will do the trick:
The higher the zOrder, the more on top the element is - it is drawn last.