':param results: The result map of the wordnet search.
:return: The same result map, but each item is ordered by popularity'

def _popularity_contest(self, result):

    def sort_function(i, j):
        '\n                                                Compare    the    lengths    of    the    objects.\n                                                '
        return cmp(len(i), len(j))
    result.sort(sort_function)
    return result
