Make compatible with latest gulp

Also adds sorting of posts by date