title: JS - Sorting child objects within an object
body: <p>I am trying to find if there is a way to sort objects within an object using a bool value.  I haven't been able to find anything to help, and not even sure if possible. </p>
  
  <p>My object example is this: </p>
  
  <pre><code>{
  "Music": {
      "Key": "Music",
      "Title": "Music",
      "Icon": "t-music",
      "Colour": "blue",
      "Active": false
  },
  "The Arts": {
      "Key": "The Arts",
      "Title": "The Arts",
      "Icon": "t-arts",
      "Colour": "blue",
      "Active": false
  },
  "Social": {
      "Key": "Social",
      "Title": "Social",
      "Icon": "t-social",
      "Colour": "yellow",
      "Active": true
  }
  </code></pre>
  
  <p>}</p>
  
  <p>Is there anyway to sort these objects within the parent object based on the "Active"  bool?</p>