Discard the 3 or 4 tough outer leaves of 1 kg red cabbage, cut in half and remove the core. Either finely shred the cabbage or, if you prefer a little extra texture, coarsely chop it. Set aside.
Peel and halve 1 large red onion, and finely slice into half rings. Set aside.
Peel and dice 2 Cox apples.
Melt 50 grams butter in a large saucepan and fry the sliced red onion for five to seven minutes, stirring frequently, until the onion softens but does not colour.
Add 2 tbsp dark muscovado sugar, 2 tbsp red wine vinegar, 1 cinnamon stick, 2 star anise, 5 whole allspice berries or juniper berries, 3 bay leaves, 100 ml good quality beef stock the juice of 1 orange. Stir well to combine.
Season well to taste with Shetland sea salt and freshly ground black pepper. Pop the lid on and simmer gently for at least 60 minutes, checking the liquid level often. Add more stock if it's looking too dry.