title: Sort object having key value pair based on values
body: <p>I have declared an object.</p>
  
  <p>var obj = {
      "1": "google",
      "2": "yahoo",
      "3": "msn",
      "4": "stackoverflow",
      "5": "github",
      "6": "jsfiddle",
      "7": "amazon",
      "8": "ebay"
  };</p>
  
  <p>I need to sort based on values and then push it to a array and I need to display the array. 
  I have sorted the object based on values and pushed into array. But on display of array, the values are sorted based on keys. 
  I found out the reason why it is happening, i.e., because keys are digits, on pushing to array or object the values are defaultly sorted based on keys. I don't want to change the values present in keys. Please let me know it der are any alternate to overcome this?</p>
  
  <p>Thanks in Advance,
  Chandan</p>