Cook them for twenty minutes in the sugar and half a kilo of water.
That is, put one kilo of sugar, less a little, not a full kilo, with a glass of water. When it starts to form a syrup, add the peeled and chopped oranges.
Remove from the heat and let it rest.
The next day, continue cooking until the sugar forms a thick syrup.