Posts2Posts, wp_query and orderby issue

I don’t have any experience with posts2posts, but to see the query that wp_query runs on your database, before your if statement, put echo $new_connected->request. Helped me a lot to debug wp_query when I couldn’t find out which parameters weren’t working. The output is the SQL query that will be performed on the DB. Therefor you can copy this query in phpmyadmin to see the results. Maybe it will help you gain more insight into the problem!

PS using 'orderby' => 'meta_value' requires 'meta_key' => 'your_metakey_name' else it doesn’t know which key to get the value from to sort by.