title: mongo get first data after sorting by descending
body: <p>how to get first data on mongo after sorting all data by desc. Example :</p>
  
  <p>i'm using this tutorial in my app : <a href="https://github.com/mongodb/mongo-ruby-driver" rel="nofollow">mongo for ruby</a></p>
  
  <p>i'm typing this in my console :</p>
  
  <pre><code>client = Mongo::Client.new
  db     = client['example-db']
  coll   = db['example-collection']
  collect_data = coll.sort("desc by created")
  </code></pre>
  
  <p>result from collect_data.count = 11 </p>
  
  <p>how to get first data from <code>collect_data</code> ?</p>
  
  <p>need help, thanks master</p>