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