Entity icon highlight based on nearest date

I have 2 entities that are created using the multiscrape component to get a date from a website, these entities are then stores as sensors with their primary data being a date in the following format:

Wednesday 30/11/2022

I have a mushroom entity card that displays each value with it’s name at the top and the date provided underneath it. I’d like to highlight the entity which has the nearest date to today out of the 2.
How would I go about doing this?
For reference, it’s actually for my rubbish collection and I’d simply like to see which bin is due for collection next.