Make groupby sort in same direction as sort