def sort(self):
if hasattr(self,'<STR_LIT>'):<EOL><INDENT>sort_items(self,self.variables)<EOL><DEDENT>if hasattr(self,'<STR_LIT>'):<EOL><INDENT>sort_items(self,self.modules)<EOL><DEDENT>if hasattr(self,'<STR_LIT>'):<EOL><INDENT>sort_items(self,self.submodules)<EOL><DEDENT>if hasattr(self,'<STR_LIT>'):<EOL><INDENT>sort_items(self,self.common)<EOL><DEDENT>if hasattr(self,'<STR_LIT>'):<EOL><INDENT>sort_items(self,self.subroutines)<EOL><DEDENT>if hasattr(self,'<STR_LIT>'):<EOL><INDENT>sort_items(self,self.modprocedures)<EOL><DEDENT>if hasattr(self,'<STR_LIT>'):<EOL><INDENT>sort_items(self,self.functions)<EOL><DEDENT>if hasattr(self,'<STR_LIT>'):<EOL><INDENT>sort_items(self,self.interfaces)<EOL><DEDENT>if hasattr(self,'<STR_LIT>'):<EOL><INDENT>sort_items(self,self.absinterfaces)<EOL><DEDENT>if hasattr(self,'<STR_LIT>'):<EOL><INDENT>sort_items(self,self.types)<EOL><DEDENT>if hasattr(self,'<STR_LIT>'):<EOL><INDENT>sort_items(self,self.programs)<EOL><DEDENT>if hasattr(self,'<STR_LIT>'):<EOL><INDENT>sort_items(self,self.blockdata)<EOL><DEDENT>if hasattr(self,'<STR_LIT>'):<EOL><INDENT>sort_items(self,self.boundprocs)<EOL><DEDENT>if hasattr(self,'<STR_LIT>'):<EOL><INDENT>sort_items(self,self.finalprocs)<EOL><DEDENT>if hasattr(self,'<STR_LIT:args>'):<EOL><INDENT>pass<EOL><DEDENT>
Sorts components of the object.