title: Need assistance with wp_user_query not working
body: <p>I need some help getting a wp_user_query to work; been struggling and trying lots of stuff but cannot get it to work proper way.</p>
  
  <p>here is my code:</p>
  
  <pre class="lang-php prettyprint-override"><code>$args = array(
      'meta_query' =&gt; array(
          'role'     =&gt; 'personal-injury-lawyer',
          'orderby'  =&gt; 'meta_value',
          'meta_key' =&gt; 'lawyer_numeric_rank',
          'order'    =&gt; 'ASC',
          array(
              'key'     =&gt; 'lawyer_location',
              'value'   =&gt; 'London',
              'compare' =&gt; '='
          ),
      )
  );
  
  $london_user_query = new WP_User_Query($args);  
  
  if ( ! empty($london_user_query-&gt;results)) {
      foreach ( $london_user_query-&gt;results as $user ) {
  </code></pre>
  
  <p>I know the foreach loop is not closed; just trying shorten this...</p>
  
  <p>I am trying to do three things on this query:</p>
  
  <ol>
  <li>Show roles of <code>personal-injury-lawyer</code></li>
  <li>Show where <code>meta_key</code> field of <code>lawyer_location</code> = London</li>
  <li>Order by <code>meta_value</code> where <code>meta_key</code> = <code>lawyer_numeric_rank</code> in ASC order</li>
  </ol>
  
  <p>I have tried this a number of ways but cannot get this to work with both filtering on London location and also ordering by the rank...</p>
  
  <p>The code right now does filter on location; but the orderby part is not working; if i remove the location filter from this; then the orderby does work...</p>
  
  <p>I hope someone can help with this.</p>