change sorting to be by createdAt, not timestamp
0.3.7