Sort posts by creation date