/Engine/Source/Runtime/GeometryCore/Public/DynamicMesh/MeshBones.h
the order of the bones in the output arrays might be different than the order of the bones in the mesh bone attribute. The reference skeleton expects the parent bone to always have a lower index than the children. This doesn't have to be true for dynamic mesh bone attributes. You can useTDynamicVertexSkinWeightsAttribute::ReindexBoneIndicesToSkeletonmethod to reindex the skinning weights if the order changed (bOutOrderChanged == true).
false if the dynamic mesh has no bone attributes
static bool GetBonesInIncreasingOrder ( const [FDynamicMesh3](API\Runtime\GeometryCore\DynamicMesh\FDynamicMesh3) & Mesh, [TArray](API\Runtime\Core\Containers\TArray)< [FName](API\Runtime\Core\UObject\FName) > & BoneNames, [TArray](API\Runtime\Core\Containers\TArray)< int32 > & BoneParentIdx, [TArray](API\Runtime\Core\Containers\TArray)< FTransform > & BonePose, bool & bOrderChanged )