title: Lodash: order array of objects by boolean?
body: <p>I have an array of objects I'd like to order (essentially it's a table): </p>
  
  <pre><code>myArr = [{
      name: 'John',
      email: 'john@gmail.com',
      accepted: true
  }, {
      name: 'Alfred',
      email: 'alfred@gmail.com',
      accepted: false
  }]
  </code></pre>
  
  <p>I'm using orderBy from lodash like so:</p>
  
  <pre><code>//get columnName to sort by from another function
  const newArr = _.orderBy(myArr, [columnName], ['asc'])
  </code></pre>
  
  <p>Ordering by name and email works fine, for accepted it doesn't do anything though. I understand I can store accepted as 0 and 1, but is there another way? Is lodash sufficient for that, or should I create a separate function for this? </p>