Sorting is wrong. What’s the logic behind the process of extracting the items? If it doesn’t sort with the .ascending code, does it sorts by creation date or another specific way?
I think I resolved the issue by removing the .ascending() code from the query and adding a sort rule directly in the dataset settings. Either way, I would recommend to Wix’s developers to take a look at this, since, it is not working properly, and definitely it could affect negatively other users.