I am fetching a list of recent posts using
$recent_post = new WP_Query("cat='2,3,4,5,6,8,7,9,10,11,12'&posts_per_page&paged=".get_query_var('paged'));
Some of these posts belong to multiple categories and I need to prioritize those posts which belong to category id 8
either on their own or alongside other categories.
I thought of running two separate queries and merge their results, but is there a better way of doing this?