def ispermutation2(s1, s2):
    if sorted(s1) == sorted(s2):
        return True
    else:
        return False
Search inside the index.
dataset/ETHPy150Open bt3gl/Python-and-Algorithms-and-Data-Structures/src/builtin_structures/permutations.py/ispermutation2--crossover with--dataset/ETHPy150Open algolia/algoliasearch-client-python/algoliasearch/index.py/Index.search