fix some NameErrors due to ordering of the output classes / types
add simple sort to Linked_List implementation
first fix for Python MRO issue