title: How to sort bars in increasing order in a bar chart?
body: <p>I have a DataFrame <code>df</code> that I convert to <code>df_c</code> using the code shown below:</p>
  
  <pre><code>df = pd.DataFrame(columns=["App","Feature1", "Feature2","Feature3",
                             "Feature4","Feature5",
                             "Feature6","Feature7","Feature8"], 
                    data=[["SHA",0,0,1,1,1,0,1,0],
                          ["LHA",1,0,1,1,0,1,1,0],
                          ["DRA",0,0,0,0,0,0,1,0],
                          ["FRA",1,0,1,1,1,0,1,1],
                          ["BRU",0,0,1,0,1,0,0,0],
                          ["PAR",0,1,1,1,1,0,1,0],
                          ["AER",0,0,1,1,0,1,1,0],
                          ["SHE",0,0,0,1,0,0,1,0]])
  df_c = df.iloc[:, 1:].eq(1).sum().rename_axis('Feature').reset_index(name='Cou‌​nt')
  </code></pre>
  
  <p>Then I create a bar chart using matplotlib and seaborn:</p>
  
  <pre><code>plt.figure(figsize=(12,8))
  ax = sns.barplot(x="Feature", y="Count", data=df_c, palette=sns.color_palette("GnBu", 10), order=df_c['Feature'])
  plt.xticks(rotation='vertical')
  ax.grid(b=True, which='major', color='#d3d3d3', linewidth=1.0)
  ax.grid(b=True, which='minor', color='#d3d3d3', linewidth=0.5)
  plt.show()
  </code></pre>
  
  <p>I want to sort bars in increasing order from left to right. If I do <code>order=df_c['Count']</code>, the bars disappear.</p>