Improvement: Adds a parameter to data model type sort ("strict" for unbreakable cycles and "lenient" for taking into account optional FKs).