title: Order wp_query by numeric custom field not working
body: <p>I'm trying to sort the results of a wp_query by an ACF numeric field, but sorting whatsoever. Changed order from ASC to DESC but still the same.</p>
  
  <pre><code>$counter = 0;
  WP_Query arguments
  $args = array (
         'post_status' =&gt; 'publish',
          'post_type' =&gt; 'teams',
          'meta_key' =&gt; 'standings-points',
          'orderby' =&gt; 'meta_value_num',
          'order' =&gt; 'DESC'
  );
  
  // The Query
  $query = new WP_Query( $args );
  
  // The Loop
  if ( $query-&gt;have_posts() ) : while ( $query-&gt;have_posts()) :   $query-&gt;the_post(); $counter++; ?&gt;
  
  &lt;td style=""&gt;&lt;?php echo $counter; ?&gt;&lt;/td&gt;
  &lt;td style="text-align: left;"&gt;&lt;?php the_title();?&gt;&lt;/td&gt;
  &lt;td&gt;&lt;?php the_field('standings-points');?&gt;&lt;/td&gt;
  
  &lt;?php endwhile; endif; wp_reset_postdata(); wp_reset_query();
  </code></pre>
  
  <p>Can someone point me to the right direction please?</p>