title: Javascript Sort() Array In Numeric Order
body: <p>I have array like this</p>
  
  <pre><code>var Arr = [ 'h78em', 'w145px', 'w13px' ]
  </code></pre>
  
  <p>I want to sort this array in Numerical Order  </p>
  
  <pre><code>[ 'w13px', 'h78em', 'w145px' ]
  </code></pre>
  
  <p>For Regular Numerical sorting I use this function </p>
  
  <pre><code>var sortArr = Arr.sort(function(a,b){
       return a-b;
  });
  </code></pre>
  
  <p>But due to word character in the array this function doesn't work</p>
  
  <p>Is it possible to sort this array ? How do I split/match array ? </p>