title: sort pandas value_counts() primarily by descending counts and secondarily by ascending values
body: <p>When applying value_counts() to a series in pandas, by default the counts are sorted in descending order, however the values are not sorted within each count.</p>
  
  <p>How can i have the values within each identical count sorted in ascending order?</p>
  
  <pre><code>apples    5
  peaches   5
  bananas   3
  carrots   3
  apricots  1
  </code></pre>