Handel's scramble for ranking optimization