Here is the code in am using
$arg= array( 'post_type' => 'vr_listing', 'tax_query' => array( array( 'taxonomy' => 'vr_listing_status', 'field' => 'slug', 'terms' => array( 'Active', 'Pending','Sold') ) ), 'meta_key' => 'vr_list_price', 'orderby' => 'meta_value_num', 'order' => 'DESC' ); query_posts($arg);
Each listing has a particular status assigned to it i.e Active,pending,status(different terms in custom taxonomy) What i want to achieve is to first order by price using meta key and at the same time i want to get the results from custom taxonomy from different terms but one by one. e.g first i want to achieve all the results from Active term and then pending and then sold
Any ideas how can i achieve this?