First the first concrete model in the inheritance chain that inherited from the PolymorphicModel.
Set the polymorphic content-type ID field to the proper model Sort the
*modelsfrom base class to descending class, to make sure the content types are properly assigned.
ignore_existing=Trueto skip models which already have a polymorphic content type.
Sort a series of models by their inheritance order.