step by step ranking method