nitc :: MModule :: linearize_mclasses
The most general is first, the most specific is last
# Sort a given array of classes using the linearization order of the module
# The most general is first, the most specific is last
fun linearize_mclasses(mclasses: Array[MClass])
do
self.flatten_mclass_hierarchy.sort(mclasses)
end
src/model/model.nit:239,2--244,4