def cmp_compat(a, b):
    return (a > b) - (a < b)
Return list of triples (eigenval, multiplicity, basis).
dataset/ETHPy150Open dwighthubbard/hostlists/hostlists/hostlists.py/cmp_compat--crossover with--dataset/ETHPy150Open sympy/sympy/sympy/matrices/matrices.py/MatrixBase.eigenvects