added order by in feed queries