/Engine/Source/Editor/UnrealEd/Public/Kismet2/KismetReinstanceUtilities.h
Gathers the full class Hierarchy of the ClassToSearch, sorted top down (0 index beingUObject, n being the subclasses)
static void GetSortedClassHierarchy ( [UClass](API\Runtime\CoreUObject\UObject\UClass) * ClassToSearch, [TArray](API\Runtime\Core\Containers\TArray)< [UClass](API\Runtime\CoreUObject\UObject\UClass) * > & OutHierarchy, [UClass](API\Runtime\CoreUObject\UObject\UClass) ** OutNativeParent )