title: Incorrect result when trying to get rows to sort by date
body: <p>I have custom code to get users ordering by <code>updated_at</code> column:</p>
  
  <pre><code>$customers = \App\Customer::whereHas('user', function ($query) {
     $query-&gt;orderBy('updated_at', 'DESC');
  })-&gt;get();
  </code></pre>
  
  <p><strong>Table scheme:</strong></p>
  
  <pre><code> Schema::create('customers', function (Blueprint $table) {
      $table-&gt;increments('id');
      $table-&gt;unsignedInteger('user_id');
      $table-&gt;foreign('user_id')
            -&gt;references('id')
            -&gt;on('users')
            -&gt;onDelete('cascade');
      $table-&gt;string('name')-&gt;nullable();
      $table-&gt;string('lastname')-&gt;nullable();
      $table-&gt;string('surname')-&gt;nullable();
      $table-&gt;text('about')-&gt;nullable();
      $table-&gt;timestamps();
  });
  </code></pre>
  
  <p>You can see <a href="https://otabek.ga/test/query" rel="nofollow noreferrer">here</a> query result. Why I get wrong result or my query is incorrect?</p>