Here's a dataframe I have
Sales Rep order_dates Sales in Dollars
1 John 2010-11-01 25
2 John 2008-03-25 30
3 Alex 2010-11-01 5
4 Alex 2008-03-25 15
5 Jeff 2010-11-01 31
5 Jeff 2008-03-25 2
I'd like to rank across the groups here based on date. For instance, I'd like to rank Jeff as being #1 for 2010-11-01, John as being #2 and Alex as being number 3. Similarly, I'd like John to be #1 for 2008-03-25, Alex to be #2, and Jeff to be number 3. How would I achieve this?