i have one question:
this is my backend code for api:
const getAds = async (req, res, next) => { let ads; try { ads = await Ad.find({}).sort