Which is First?

Yes. Logic comes before all other branches of philosophy. Just as "mathematics without logic“ is no mathematics at all, "philosophy without logic“ is no philosophy at all.

A child in a womb can already behave according to logic - but not according to ethics. Every child’s development shows clearly that logic comes before ethics. Also is behaving according to ethics earlier than knowing about ethics.