<p>Its preferable to get recs from teachers who you had/have junior/senior year because admissions officers want to know how you’ve grown throughout high school, who you have become and obviously the more recent the recommendation the clearer the picture they get of you.</p>
<p>It’s not a giant blight on your application if you dont get both your recs from Junior/Senior year teachers but it will be viewed less favorably. A good rec is a good rec though so you should be fine, the extra personal insight from a close sophomore year teacher will probably more then make up for a rec from a junior/senior year teacher with whom you had a distant relationship with.</p>