Order cdef classes by inheritance before generating the code.
Merge pull request #223 from nnemkin/cdef_class_order

Order cdef classes by inheritance before generating the code.