nodes: 0, module; 1, function_definition; 2, function_name:_cmp_bystrlen_reverse; 3, parameters; 4, block; 5, identifier:a; 6, identifier:b; 7, expression_statement; 8, if_statement; 9, comment:"""A private "cmp" function to be used by the "sort" function of a
         list when ordering the titles found in a knowledge base by string-
         length - LONGEST -> SHORTEST.
         @param a: (string)
         @param b: (string)
         @return: (integer) - 0 if len(a) == len(b); 1 if len(a) < len(b);
          -1 if len(a) > len(b);
      """; 10, comparison_operator:len(a) > len(b); 11, block; 12, elif_clause; 13, else_clause; 14, call; 15, call; 16, return_statement; 17, comparison_operator:len(a) < len(b); 18, block; 19, block; 20, identifier:len; 21, argument_list; 22, identifier:len; 23, argument_list; 24, unary_operator; 25, call; 26, call; 27, return_statement; 28, return_statement; 29, identifier:a; 30, identifier:b; 31, integer:1; 32, identifier:len; 33, argument_list; 34, identifier:len; 35, argument_list; 36, integer:1; 37, integer:0; 38, identifier:a; 39, identifier:b
code: def _cmp_bystrlen_reverse(a, b):
      """A private "cmp" function to be used by the "sort" function of a
         list when ordering the titles found in a knowledge base by string-
         length - LONGEST -> SHORTEST.
         @param a: (string)
         @param b: (string)
         @return: (integer) - 0 if len(a) == len(b); 1 if len(a) < len(b);
          -1 if len(a) > len(b);
      """
      if len(a) > len(b):
          return -1
      elif len(a) < len(b):
          return 1
      else:
          return 0