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, cream the butter and sugar together using an electric mixer until light and fluffy, about 2 to 3 minutes.
04 - Beat in the eggs one at a time, ensuring each is fully incorporated before adding the next. Mix in the vanilla extract.
05 - Stir in the sour cream until the mixture is smooth and uniform.
06 - Add the flour mixture in three additions, alternating with the milk and 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.