Stir sugar, vinegar, lemon juice and red pepper flakes together in a small saucepan, bring to a boil. Add half of the chopped apples, cover pan and reduce heat; cook gently until apples are very soft. Mash them with a potato masher until practically smooth. Stir in oregano and remaining chopped apples. Refrigerate. Serve chilled with grilled sausage.