title: Sorting object properties based on value
body: <p>I have an array of objects:</p>
  
  <pre><code>[  
     {  
        "Accept Credit Cards":"17",
        "Take-Out":"17",
        "Alcohol":"16",
        "Caters":"10",
        "Takes Reservations":"11",
        "Smoking":"0",
        "Dogs Allowed":"1",
        "Outdoor Seating":"12",
        "Coat Check":"0",
        "Waiter Service":"14",
        "Wi-Fi":"10",
        "Good For Groups":"16",
        "Wheelchair Accessible":"13"
     }
  ]
  </code></pre>
  
  <p>I want to sort this based on the value. So my result should be something like:</p>
  
  <pre><code>[  
         {  
            "Accept Credit Cards":"17",
            "Take-Out":"17",
            "Alcohol":"16",
            "Good For Groups":"16",
            "Wheelchair Accessible":"13"
            AND SO ON.....
  
        }
  ]
  </code></pre>
  
  <p>How will I do this? I tried a sort. But that just sorts based on the key. Any pointers appreciated.</p>