Changed sorting from updatedAt to createdAt