def comparator(self, x, y):
indX=<NUM_LIT:0><EOL>indY=<NUM_LIT:0><EOL>for i in range(len(self.stable_names)):<EOL><INDENT>if self.stable_names[i] == x[<NUM_LIT:0>].split('<STR_LIT:->')[<NUM_LIT:0>]:<EOL><INDENT>indX=i<EOL><DEDENT>if self.stable_names[i] == y[<NUM_LIT:0>].split('<STR_LIT:->')[<NUM_LIT:0>]:<EOL><INDENT>indY=i<EOL><DEDENT><DEDENT>if indX>indY:<EOL><INDENT>return <NUM_LIT:1><EOL><DEDENT>if indX==indY:<EOL><INDENT>return <NUM_LIT:0><EOL><DEDENT>if indX<indY:<EOL><INDENT>return -<NUM_LIT:1><EOL><DEDENT>
simple comparator method