title: How to fetch posts order by meta value?
body: <p>Well I am stuck in a sorting posts in wordpress! I know this is a previously asked question, but no luck for me the codes and solutions I found here!
  The below is code snippet I am using.</p>
  
  <pre><code>$args = array(
        'showposts'=&gt;10,
        's' =&gt; $search,
        'meta_key'        =&gt; 'neighboorhood',
        'meta_value'  =&gt; $location,
        'orderby'   =&gt; 'meta_value_num',
        'meta_key'  =&gt; 'is_sort',
      );
  </code></pre>