title: How to sort an alphanumeric array just based on number in javascript?
body: <p>consider the following array:</p>
  <pre><code>['state1035', 'dm5', 'state123', 'county247', 'county2']
  </code></pre>
  <p>sorting this array on basis of number output should be:</p>
  <pre><code>['county2' ,'dm5', 'state123', 'county247', 'state1035']
  </code></pre>