powered by
dense_rank assigns the smallest number to a tie, and does not leave gaps after ties.
dense_rank(x)
an orderable vector
dense_rank