Sorts posts based on createdAt attribute, not updatedAt.