Sort posts by publish date