title: Sort an object by multiple parameters (first letter & boolean value)
body: <p>I'm trying to sort the object below in order of names beginning with the first letter of the sortKey, followed by names beginning with second letter of the sortKey... and so on. Any name that doesn't begin with a letter in the sortKey can be added to the list after.</p>
  
  <p>But also if <strong>any</strong> of the items have a sale value of true they'll appear at the end of the list.</p>
  
  <pre><code>const content = {
    Designer: "designer name",
    sortKey: ['H', 'R', 'N'],
    items: [
      {name: "Haleema", sale: false, images: Array(3), date: 1538692915225},
      {name: "Haidee", sale: false, images: Array(3), date: 1538692881303},
      {name: "Nadette", sale: false, images: Array(3), date: 1534642464516},
      {name: "Nana", sale: false, images: Array(3), date: 1534642463516},
      {name: "Nara", sale: false, images: Array(3), date: 1534642462516},
      {name: "Nativdad", sale: false, images: Array(3), date: 1534642461516},
      {name: "Noreen", sale: false, images: Array(3), date: 1534642460516},
      {name: "Nova", sale: false, images: Array(3), date: 1534642459516},
      {name: "Ada", sale: false, images: Array(3), date: 1534642458516},
      {name: "Adele", sale: false, images: Array(3), date: 1534642457516},
      {name: "Ainsley", sale: false, images: Array(3), date: 1534642456516},
      {name: "Alicia", sale: true, colour: "", size: "UK14", price: "was £1650"},
      {name: "Alison", sale: false, images: Array(3), date: 1534642454516},
      {name: "Angelica", sale: false, images: Array(3), date: 1534642453516},
      {name: "Antonia", sale: true, colour: "", size: "UK14", price: "was £2250"},
      {name: "Aryana", sale: false, images: Array(3), date: 1534642451516},
      {name: "Norma", sale: false, images: Array(2), date: 1534642450516},
      {name: "Robyn", sale: false, images: Array(3), date: 1534642449516},
      {name: "Honey", sale: false, images: Array(3), date: 1534642448516},
      {name: "Erica", sale: true, colour: "", size: "UK14", price: "was £1895"},
      {name: "Audrey", sale: false, images: Array(3), date: 1534642446516},
      {name: "Elke", sale: false, images: Array(1), date: 1534642445516},
      {name: "Eliza", sale: true, colour: "", size: "UK10", price: "was £1425"},
      {name: "Nikita", sale: false, images: Array(3), date: 1534642443516},
      {name: "Emmanuelle", sale: false, images: Array(3), date: 1534642442516},
      {name: "Helaine", sale: false, images: Array(3), date: 1534642441516},
      {name: "Nina", sale: false, images: Array(3), date: 1534642440516},
      {name: "Elma", sale: false, images: Array(3), date: 1534642439516},
      {name: "Nora", sale: false, images: Array(3), date: 1534642438516},
      {name: "Nicolette", sale: false, images: Array(3), date: 1534642437516},
      {name: "Erin", sale: false, images: Array(3), date: 1534642436516},
      {name: "Hazel", sale: false, images: Array(3), date: 1534642435516},
      {name: "Heva", sale: false, images: Array(3), date: 1534642434516},
      {name: "Ryoko", sale: true, colour: "", size: "UK12", price: "was £1495"},
      {name: "Nouvelle", sale: false, images: Array(3), date: 1534642432516},
      {name: "Noleen", sale: false, images: Array(2), date: 1534642431516},
      {name: "Hilaria", sale: false, images: Array(3), date: 1534642430516},
      {name: "Hermione", sale: false, images: Array(3), date: 1534642429516}
  ]};
  </code></pre>
  
  <p>I hope I've explained that well enough, and thank you in advance for any assistance :)</p>