Update links by date

How can I control through the ‘switch’ to move the order of the specified web browser links (1=>2=>3=>4) if the date changes every day?
I’m curious.