def sorted_components(self):
for component, object insorted(self.components.items(),<EOL>key=lambda comp_obj: comp_obj[<NUM_LIT:1>].id):<EOL><INDENT>yield component, object<EOL><DEDENT>
iterator that returns (component,object) in id order