>>581
$if(mi(state)=playing|mi(state)=paused, A, B)$
|で並べ替るだけです