Letters of recommendation from professor outside of major?

So I’m an economics major and I took a cultural economics class with a sociology professor this summer session 1 at my university. The class was an upper division writing class required for graduation and was the only econ class that satisfied the requirement. After turning in the final research paper the professor approached me to do a 4 unit research class this Fall (my last quarter) with him, and basically said that we’d research netflix filtering algorithms and he’d be glad to write me a letter post-graduation. (I didn’t ask, he offered). My question is do you think graduate school admissions would rather see letters from economics professors would his letter be good. This would be my first research in undergrad and he is a pretty well respected sociology professor with 30+ years at my university.

First - that’s awesome! Those algorithms are fascinating to me.

Second, it’s totally fine to get a recommendation outside of your area, as long as your other two are from economics professors. It’s a boon for you too because you get it from a research supervisor, and this sociologist is obviously familiar with economics because he’s teaching a class.

@juillet thanks!