Find all subclasses of a certain baseclass?

Manually create array of subclasses on init, even engine does that:

https://github.com/EpicGames/UnrealEngine/blob/a27ad66f0a075f3b74ef8f68a4b2b0da4882425e/Engine/Source/Editor/UnrealEd/Private/SoundCueGraphSchema.cpp#L492

So it loks like this:

for(TObjectIterator<UClass> It; It; ++It)
{
	if(It->IsChildOf(USomeAwesomeClass::StaticClass()) && !It->HasAnyClassFlags(CLASS_Abstract))
	{
		Subclasses.Add(*It);
	}
}