modify sort of simple rank