In some cases, the order of integral is not a matter. You can change the order of integration. But you need to rewrite the iterated integral.