title: Wordpress / Acf Query Posts by a custom field and order them by another
body: <p>Here's my problem , I have a custom post type "Emissions" , and i wrote a query to get all posts where the day field is equal to today , and where the field hour is inferior to current time , so that the query is for displaying the "Upcoming" , </p>
  
  <p>up to that , i'm good , but when it comes to ordering the posts by the field hour , in an ascending order , the output isn't ordered at all , is there any problem with my code ? </p>
  
  <pre><code>$args = array(
  'posts_per_page' =&gt;3,
  'post_type'     =&gt; 'emissions',
  'meta_query'    =&gt; array(
      'relation'      =&gt; 'AND',
      array(
          'key'       =&gt; 'jour',
  
          'value'     =&gt; $lyoum,
          'compare'   =&gt; '='
      ),
      array(
          'key'       =&gt; 'horaire',
          'value'     =&gt; $douka,
          'compare'   =&gt; '&lt;',
          'order_by'      =&gt; 'meta_value_num',
          'order' =&gt; 'DESC',
      )
  ));
  </code></pre>
  
  <p>if anyone wants to help , that would be great , </p>
  
  <p>ps : variables are </p>
  
  <p>$lyoum = $today , datetime getting the current day,</p>
  
  <p>$douka = $now ,datetime getting the current time,</p>
  
  <p>Thanks in advance.</p>