title: Laravel how do I get the row number of an object using Eloquent?
body: <p>I'd like to know the position of a user based on its creation date. How do I do that using Eloquent?</p>
  
  <p>I'd like to be able to do something like this:</p>
  
  <pre><code>User::getRowNumber($user_obj);
  </code></pre>