You can change a skeleton’s hierarchy by changing which joint is its root joint. This process is called rerooting. You can reroot a skeleton early in its creation to test the skeleton’s behavior with different roots.
If you select the child of the entire joint chain, the skeleton’s hierarchy will reverse.
If you select a joint in the middle of the skeleton, two separate hierarchies below the root joint will be created.