mongodb对内嵌数组对象如何排序?
{ “_id” : ObjectId(“54115f9db4daf5a789d799fa”), “arrays” : [ { “name” : “a1”, “size” : 1 }, { “name” : “a2”, “size” : 2 }, { “name” : “a3”, “size” : 3 }, { “name” : “a4”, “size” : 4 } ] } 通过size大小排序,有没有办法?