Median constrained bucket order: a way to think about tied rankings