Sorting with limit is return wrong data


while I am using the sort and limit at same time in find() query it returns wrong data

Product of both is the same, if you swap the sort to product and _id or something it should be consistent.