title: Wordpress: Sort Order by Custom Field Numerically
body: <p>How Can I sort the custom field data numerically which is stored as string. I can't change it into database.</p>
  
  <pre><code>query_posts($query_string. '&amp;orderby=meta_value&amp;meta_key=price&amp;order=DESC' );
  </code></pre>
  
  <p>This is what I am using but it is sorting it as string as this is stored as string as well.</p>
  
  <p>Can anyone tell me how can I convert it into numerically without changing in database?</p>
  
  <p>Thanks in advance.</p>
  
  <p>Mazy</p>