def intrinsic_variables(xmrs):
    """Return the list of all intrinsic variables in *xmrs*"""
    ivs = set(
        ep.intrinsic_variable for ep in xmrs.eps()
        if not ep.is_quantifier() and ep.intrinsic_variable is not None
    )
    return sorted(ivs, key=var_id)