title: Lodash: Sort array of objects prioritizing alphabets first followed by numbers
body: <p>I have an array of objects, let's say:</p>
  
  <pre><code>var objects = [
    {name: 'A'},
    {name: '1'},
    {name: 'B'}
  ]
  </code></pre>
  
  <p>Knowing that I can sort it using <a href="https://lodash.com/docs/4.17.2#sortBy" rel="nofollow noreferrer" title="Lodash&#39;s sortBy">Lodash sortBy</a>:</p>
  
  <pre><code>objects= _.sortBy(objects, 'name')
  </code></pre>
  
  <p>which will result in this:</p>
  
  <pre><code>[
    {name: '1'},
    {name: 'A'},
    {name: 'B'}
  ]
  </code></pre>
  
  <p>But my desired output is this:</p>
  
  <pre><code>[
    {name: 'A'},
    {name: 'B'},
    {name: '1'}
  ]
  </code></pre>
  
  <p>Please help.</p>