In a large bowl, cream softened butter and granulated sugar with an electric mixer for 3 minutes until smooth.
Beat in whole egg, egg yolk, vanilla extract, and almond extract until fully incorporated.
In a separate bowl, whisk flour, baking powder, and salt; gradually add to butter mixture, mixing until dough comes together.
Divide dough in half; roll each half between sheets of parchment paper to 1/4-inch thickness; chill in refrigerator for 1 hour.
Preheat oven to 350°F (175°C). Cut dough into star shapes with star cookie cutters; place 1 inch apart on parchment-lined baking sheets.
Freeze baking sheets for 10 minutes to firm dough before baking.
Bake for 8 to 10 minutes until edges are barely golden; cool on baking sheets for 5 minutes, then transfer to wire racks to cool completely.
Pipe royal icing over stars and sprinkle with sparkling sanding sugar; let icing set firmly for 2 hours before storing.