def _ordered_points(p):
    return tuple(sorted(p, key=lambda x: x.args))
Return the tuple of points sorted numerically according to args
dataset/ETHPy150Open sympy/sympy/sympy/geometry/util.py/_ordered_points