Question: You'd like a set of documents to be returned in last name, ascending order. Which query will accomplish this?

  1. `db.persons.find().sort({lastName: -1}}`
  2. `db.persons.find().sort({lastName: 1}}`
  3. `db.persons.find().sort({lastName: ascending}}`
  4. `db.persons.find().sort({lastName: $asc}}`

Answer: The correct answer of the above question is Option B:`db.persons.find().sort({lastName: 1}}`