I'm trying to plot the values of a set of categories on a daily basis.
The data is sorted based on the dates. But when I plot it with a seaborn line plot, it gets totally mixed up! (I added sort = False but didn't work)
Here is the code:
line1 = sns.lineplot(data = df_2,  x = 'date', y = 'cost', hue = 'category',
                 sort = False, style="category", markers=True,  dashes=False)
line1.set_xticklabels(df_2.date, rotation=90);

It looks like the line plot is trying to sort the date values by itself and since my dates are like '%m-%d', it sorts the values first based on the days and then months!
 
     
    

