I have a properties website where pulling properties from API. There are prices and strings in the price field. I want to show the properties with number first. Now there are showing modified on first position. So when price is changed to "Sold" its on first position. this i my query : $temp = $wp_query; $wp_query=null; $wp_query =new WP_Query(); $wp_query->query('post_type=property&type=sale&showposts=8&paged='.$paged); $b=0;