Sorting all posts that are pulled from the db by date