One good reason for teaching it before is differentiation is much more mechanical. In practice, there’s not a huge gap between the easiest derivative problem and the hardest derivative problem. It’s just very rote application of linearity, product rule and chain rule. Then integration needs more time to perform and solve problems than derivative.