Preheat your oven to 400°F (200°C).
Peel and chop the orange sweet potatoes and white potatoes, then boil them in salted water until tender.
Drain the potatoes and mash them together until smooth and creamy, then set aside.
In a large skillet over medium heat, sauté the finely chopped onions, minced garlic, and chopped carrots until the onions are translucent.
Add the minced beef to the skillet and cook until browned, breaking it up with a wooden spoon as it cooks.
Pour in the red wine and Worcestershire sauce, then stir in the rosemary, sea salt, and black pepper.
Simmer the beef mixture for 5-7 minutes until the liquid has reduced and the flavors are concentrated.
Transfer the beef and carrot mixture into a baking dish and spread it into an even layer.
Top the beef with the mashed potato mixture, smoothing it out with a spatula.
Bake for 20 minutes until the potato topping is lightly golden and the edges are bubbling.