I have the following code but I want it to be sort by Month instead of totals. The date format is YYYY-MM-DD
df.groupby(df[\'date\'].dt.strftime(\'%B\'))[\'to