title: sort array by property without using the first object
body: <p>I have an array of objects and I want to sort them by the object ids.
  I tried using 
  <code>options.sort((a, b) =&gt; a.id.localeCompare(b.id));</code>
   but did not worked as expected because it is sorting even the 'all' object and I don't want this (the object with id='all' should be first in my array, after that should be the objects in ascending order). Below you can see the input and the output of my code</p>
  
  <p>Input:</p>
  
  <pre><code> var items = 
             [{ 'Name':'All', 'id': 'all'
              { 'Name':'item1', 'id': '003' }
              { 'Name':'item2', 'id': '001' }
              { 'Name':'item3', 'id': '002' }];
  </code></pre>
  
  <p>Output:</p>
  
  <pre><code>  var items = 
             [{ 'Name':'item2', 'id': '001' }
              { 'Name':'item3', 'id': '002' }
              { 'Name':'item1', 'id': '003' }
              { 'Name':'All', 'id': 'all'}];
  </code></pre>