title: How to sort the fields when the numbers are entered as strings,in elasticsearch?
body: <p>This is a sample of the document I have indexed using elasticsearch.</p>
  
  <pre><code>{
  
  "itemName": "refridgirator"
  "brand": "samsung"
  "price": "1600"
  "emi": "40"
  "location":"Brisbane"
  }
  </code></pre>
  
  <p>As you can see from the above document that,all the numerical fields such as "price" and "emi" are entered as strings. Now as I need to sort my indexed documents in the basis of this value,Im not able to do that. How can I make it done?</p>