i have a quey where we were using pagination with skip and sorting the data with _id, but now when i am adding pagination with _id then the results are not accurate
e.g
Posts.find({_id: { "$lt": lastPageLastDocIdOFPrevReq }) .sort({ _id: -1 }).limit(15)
is there any problem with the query, or in case of sorting with _id: -1 we need to use skip overe here, which will be expensive i guess.