title: Wordpress: How to fetch record from wp_posts and wp_postmeta in desc order by meta_value?
body: <p>I want to get record from wp_posts with multiple custom post and show in descending order by multiple meta value from <code>wp_postmeta.meta_value.</code></p>
  
  <p>Right now, I am using this query:</p>
  
  <pre><code>    $args = array(
          'numberposts' =&gt; -1,
          'post_type' =&gt; $field_keyn,
          'cat' =&gt; $fcat_list,
          'post_status' =&gt; 'publish',
          'relation' =&gt; 'OR',
      );
      // The Query
      // print_r($args ); 
  
      $my_query = new WP_Query($args);
      if ($my_query-&gt;have_posts()) {
          while ($my_query-&gt;have_posts()) :
              $my_query-&gt;the_post(); ?&gt;
  </code></pre>