Store items in a set to prevent duplicates

Return the items as an array sorted by publication date.