To make sugared rosemary and cranberries, combine ½ cup granulated sugar and ½ cup water in a medium saucepan. Bring to a boil and cook, stirring occasionally, until sugar is dissolved; remove from heat and let cool to room temperature. Working in batches, dip rosemary and cranberries in sugar mixture, coating thoroughly; remove and let stand on a wire rack placed over a large rimmed baking sheet for 45 minutes. Dip rosemary and cranberries in sanding sugar, coating well on all sides and shaking off excess. Use immediately.