Parse platform 在parse中遍历排序查询?

Parse platform 在parse中遍历排序查询?,parse-platform,Parse Platform,我正在编写一个具有查询的云函数: var query = new Parse.Query("A"); query.ascending("age"); 在查找结果返回后,我反复查看结果: query.find({ success: function(results){ // here I iterate through and want to iterate through expecting to follow the sort... for (var

我正在编写一个具有查询的云函数:

var query = new Parse.Query("A");
query.ascending("age");
在查找结果返回后,我反复查看结果:

query.find({
    success: function(results){
        // here I iterate through and want to iterate through expecting to follow the sort...
        for (var i = 0; i < results.length; ++i) {
            a = results[i];
            console.log(("found A object after save, age = "+ a.get("age"));
        }
    },
    error:function(......
    ........
})
问题是日志不会打印按年龄排序的对象


我如何按顺序遍历A对象,因此按照年龄排序后,查询应该会返回给我?

年龄字段的类型是什么?它是按错误的顺序打印对象还是不打印任何内容?它是一个数字。按错误的顺序打印…你能告诉我们它打印什么吗?