I'm running Magento CE 2.3.3 with Porto theme. I want to sort the products in the category overview by the date they were added without using an extra extension. By default products in category view/category pages can be sortet by either position, product name, size, price. The pre selected sorting attribut is position.
Although there is a way to define new attributes, there is no way to create an attribute that sorts by date resp. newest first.
What is the smartest way to add this feature to Magento without adding much new code? The question is related to the questions in these threads:Magento 2: Sort Product Collection by date added to category and Sort products by Date... Unfortunately I haven't figured it out yet.