Store and sort posts by date