Added image sorting by published date.