mpg rank
12 1
12 1
14 2
14 2
14 2
15 3
15 3
16 4
17 5
I want to create a rank like the one in the table above. I tried using the default rank command. None of the commands gives me the above ranking.