Chop up the onion, carrot and celery to a small dice, fairly equal size to make our soffrito.
Chop up the capsicum (bell pepper) to about an inch (2.5cm) square.
Heat the olive oil on medium-low heat, in a medium-sized frying pan or shallow casserole dish and fry the soffrito for 2 minutes, stirring regularly.
Increase the heat to high and add the beef. Break it up and stir vigorously to brown, for about 2 minutes. Lower the heat to medium if the soffrito starts to burn.
Add the cumin and paprika. Stir it all around for another 30 seconds. Don't worry if it's dry.
Add the capsicum (bell pepper), chopped tomatoes, the sundried tomato paste, the salt and the sugar. Increase the heat, stir, and bring to a boil. Then, lower the heat right down, and simmer, uncovered, for 30 minutes, stirring once or twice during that time.
At the end of the 30 minutes, check seasoning, add more salt if you need it, and some freshly ground black pepper. Give the shakshuka base a good stir, then it's time to drop the eggs in.
Adding the Eggs and Finishing
Make a small well in the beef ragù, and add the eggs in, one at a time, spacing them out, with one egg in the middle, and the other 5 all around. Cover and cook for 5-10 minutes until they are just set. The time will depend on how you like your eggs. I like the whites set but the yolk, still very runny, so 5 minutes is as long as I cook it at this stage.
When you are happy with the eggs, top it with plenty of freshly ground black pepper, some freshly chopped parsley and cheese, if you're using it. Take it to the table and serve immediately.