/Engine/Source/Runtime/Experimental/Chaos/Public/BoneHierarchy.h
Bones are sorted so that those with kinematic or dynamic bodies are first, and sorted by index (this allows to to iterate over the bone list when producing output for the animation system which asserts that the bone update list is sorted as an overly-sufficient check that parents are before children).
void InitHierarchy()