Cut the cabbage into quarters like orange segments and remove any hard stem. Then shred finely along the segments to make fine ribbons of cabbage
Peel and core the apple and chop finely.
Peel the onion and chop finely. Peel and chop the garlic
Put a layer of cabbage in the bottom of a large ovenproof dish with a lid. Now layer onion, garlic and apple, then season with a sprinkle of the spices, two teaspoons of sugar and with salt and pepper.
Continue layering and seasoning each layer, finishing with a layer of cabbage (I do this by keeping the cabbage in quarter portions, and dividing the apple/onion mix into thirds).
Once all the layers are complete, pour over the vinegar and then dot the butter on top. Cover the casserole (if necessary with foil under the lid) and place in the oven at 150c for 2 hours
Check and stir occasionally. This dish is best made a day in advance and reheated to allow all the spices to permeate the cabbage.