- fixing ranking order when there is a tie