title: Laravel : Eloquent highest number in column
body: <p>I have <code>users</code> table with <code>User</code> model, where every user have credit.</p>
  
  <p>Suppose i have 3 users </p>
  
  <p>User 1 have <code>500</code></p>
  
  <p>User 2 have <code>300</code></p>
  
  <p>User 3 have <code>200</code></p>
  
  <p>How can i get all of these users for ranking, That user 1 have <code>500</code> credit, user 2 have <code>300</code> and user 3 have <code>200</code> ! </p>
  
  <p>I am not coming up with any logic .</p>