By default, I can use _id value in find() and sort() to skip documents. But, I am sorting using a different field. And hence the documents will be randomly sorted based on _id value.
I am looking for something equivalent of this
db.collection("cities")
.orderBy("population")
.startAfter(lastVisible)
.limit(25);
Couldn't find an equivalent option in mongodb documentation. Kindly help with this query. Thanks in advance.