order by title working, order by createdAt, not working