sorts by published date automatically