// find with pagination options
collection.find(FindOptions.limit(0, 10));
// find with sort options
collection.find(FindOptions.sort("age", SortOrder.Descending));
// find with sort options and pagination options
// this will first sort all records by age in descending order and
// then it will take first 10 records as a result
collection.find(sort("age", SortOrder.Descending).thenLimit(0, 10));