01 - Preheat the oven to 350°F. Grease a 9-inch round or square cake pan and line the bottom with parchment paper.
02 - In a medium bowl, whisk together the flour, baking powder, baking soda, and salt until well blended.
03 - In a large bowl, beat the softened butter and granulated sugar together until light and fluffy, approximately 2 to 3 minutes.
04 - Beat in the eggs one at a time, then mix in the vanilla extract until fully incorporated.
05 - Stir in the sour cream until the mixture is smooth and uniform.
06 - Add the flour mixture in three portions, alternating with the milk, beginning and ending with the flour. Mix until just combined, being careful not to overmix.
07 - Gently fold the cranberries into the batter using a spatula until evenly distributed.
08 - Pour the batter into the prepared pan and smooth the top. Sprinkle with turbinado sugar and orange zest if using. Bake for 35 to 40 minutes, or until a toothpick inserted in the center comes out clean.
09 - Allow the cake to cool in the pan for 10 minutes, then transfer to a wire rack to cool completely before serving.