title: Seaborn Bar Plot Ordering
body: <p>I have a pandas dataframe that has two columns. </p>
  
  <p>I need the plot ordered by the "Count" Column.</p>
  
  <pre><code>dicti=({'37':99943,'25':47228,'36':16933,'40':14996,'35':11791,'34':8030,'24' : 6319 ,'2'  :5055 ,'39' :4758 ,'38' :4611  })
  pd_df = pd.DataFrame(list(dicti.iteritems()))
  pd_df.columns =["Dim","Count"]
  plt.figure(figsize=(12,8))
  ax = sns.barplot(x="Dim", y= "Count",data=pd_df )
  ax.get_yaxis().set_major_formatter(plt.FuncFormatter(lambda x, loc: "
  {:,}".format(int(x))))
  ax.set(xlabel="Dim", ylabel='Count')
  for item in ax.get_xticklabels():
      item.set_rotation(90)
  for i, v in enumerate(pd_df["Count"].iteritems()):        
      ax.text(i ,v[1], "{:,}".format(v[1]), color='m', va ='bottom', 
      rotation=45)
  plt.tight_layout()
  </code></pre>
  
  <p>Right now the plot is getting ordered by the "Dim" column, I need it ordered by the "Count" column,How can I do this?<a href="https://i.stack.imgur.com/30pqv.png" rel="noreferrer"><img src="https://i.stack.imgur.com/30pqv.png" alt="enter image description here"></a></p>