Firmer apples are generally a better choice for baking. Think apples like Granny Smith, Honey Crisp, or Jonathan. You can do a mix of more tart and more sweet, something like a Granny Smith and a Fuji or Pink Lady.