Oh, @uDamian I thought gameobject.SetAsLastSibling() or gameobjecy.SetAsFirstSibling() would have done the trick. Or maybe the @AndersonDev's resquest is not related at all to my suggestion (I'm just starting to learn UI in Unity) ?
UIElements is a different and unrelated UI framework from uGUI (or Unity UI). UIElements does not use GameObjects. This is the forum for uGUI: https://forum.unity.com/forums/unity-ui-ugui-textmesh-pro.60/