title: Plot histogram of a list of strings in Python
body: <p>I have a very long list of IDs (IDs are string values.
  I want to plot a histogram of this list. There are some codes in other threads on stackoverflow for plotting a histogram but the histogram I want should look like this picture (i.e. highest values are in the left side and the values gradually decrease when x-axis increase. </p>
  
  <p>This is the code for plotting regular histogram</p>
  
  <pre><code>import pandas
  from collections import Counter
  items=a long list of strings
  letter_counts = Counter(items)
  df = pandas.DataFrame.from_dict(letter_counts, orient='index')
  df.plot(kind='bar')
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/oc1nk.gif" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/oc1nk.gif" alt="The histogram"></a></p>