Is there a way to order the bone (not the hierarchy)? In spine, you can change the bone order so that the top one will be on top of another. I included an image of what I mean. So for this arm, if I bend it, I want the lower arm to be on top of the upper arm. But in this case, the sorting or order is all messed up. This arm is just 1 sprite/mesh btw.

Hi!
From what we've read about your question, we think it's more about the rendering order of Vertices within a mesh than Bones.
The rendering order of vertices within a mesh is random, but you can change it.
This problem can be solved by specifying the "Z-Depth value" of the vertices so that some vertices are rendered in front of others.
See the following manual for instructions on how to modify the Z-Depth value of vertices.
https://rainyrizzle.github.io/en/AdvancedManual/AD_ZdepthVert.html
If your issue is not resolved or you have further questions regarding the rendering order, please contact us!
Thank you.