from typing import Counter


def compareLists(a, b):
    """
    Compare two lists, return true if they are just the same under a permutation.

    Parameters
    ----------
    a, b : list of any
        The two lists to compare.
    
    Returns
    bool
        whether a and b are the same under a permutation.
    """
    return Counter(a) == Counter(b)