Heat the oil and fry the onion until soft. Add the sugar and apple and fry for another 2-3 minutes. Stir in the cabbage vinegar juniper berries bay leaves and sultanas. Cover and simmer gently for 45 minutes stirring occasionally. Season with salt and pepper. Remove the bay leaves and serve.