I don't know why my barplot is not ordered in the right sequence. I would like to start from the oldest date to the newest.
cl['DATE OF CONTACT']=pd.to_datetime(cl['DATE OF CONTACT']).dt.date
sns.set(style="whitegrid", context="talk")
plt.figure(figsize=(15,10))
plt.rc('xtick', labelsize=20)
plt.rc('ytick', labelsize=20)
ax=sns.countplot(cl['DATE OF CONTACT'])
ax.set_xticklabels(ax.get_xticklabels(),rotation=90)
for p in ax.patches:
ax.annotate(format(p.get_height(), '.2f'),
(p.get_x() + p.get_width() / 2.,
p.get_height()), ha = 'center',
va = 'center', xytext = (0, 10),
textcoords = 'offset points')
thanks for the help.