Wordpress:如何通过meta_value以desc顺序从wp_posts和wp_postmeta获取记录?

I want to get record from wp_posts with multiple custom post and show in descending order by multiple meta value from wp_postmeta.meta_value.

Right now, I am using this query:

    $args = array(
                                        'numberposts' => -1,
                                        'post_type' => $field_keyn,
                                        'cat' => $fcat_list,
                                        'post_status' => 'publish',
                                        'relation' => 'OR',
                                    );
                                    // The Query
// print_r($args ); 



                                    $my_query = new WP_Query($args);
 if ($my_query->have_posts()) {
                                    while ($my_query->have_posts()) :

                                        $my_query->the_post();
                                        ?>

I think your argument array should be

$args = array ( 'numberposts' => -1,
                'post_type' => $field_keyn,
                'cat' => $fcat_list,
                'post_status' => 'publish',
                'orderby' => 'meta_value_num', 
                'meta_key' => 'metakeyname' );