In school districts with strong teacher unions, the first to be laid off are less tenured, young teachers. Generally, without regard to ability or merit.
I'm thinking this isn't a strong "attractor" to our country's best and brightest and results in the impending demographic bomb of the teaching profession.