Best way to handle Z order of Sprites and UI elements?

I did a quick test placing some labels on screen and my Sprites are in front of my labels/UI and I want them “behind” the UI. Any tips on how to do it?
Thanks!

have you tried calling setlocalzorder on your sprites and labels?

Does it work with setLocalZOrder? I managed to fix it with setGlobalZOrder. I believe setLocalZOrder is to order the nodes inside a node and setGlobalZOrder it is used to render those nodes. Am I correct?
thanks!