manage ties in ranks