From a philosopher's point of view, should logic be taught in grammar school or junior high in preparation for algebra, or, should algebra be taught in preparation for logic? One consideration might be that we begin learning logic as early as the first year of life, but not in an ordered or conscious way. Should we get that part of thinking straight before being introduced to its applications, or follow the usual procedure and experience the applications then be confronted with the general principles?
From any point of view, I think the question here ought to be: What way of teaching such material will make it most likely that students will learn it? But that's not a question a philosopher is well-placed to answer. Someone with expertise in education would be the right person to ask.