alternation ranking method