例如: db.collection('某集合').orderBy('某字段', 'desc').get() 获取某个集合数据并根据某字段大小进行排序 这里需要注意的是: desc 代表降序(从大到小) asc 代表升序(从小到大)