One thing that you might wish to consider is the fact that the CPL/IR training is far more costly than the ATPL groundschool. Very few students have been unable to pass the ATPL exams (although some have taken a number of attempts). But I have known none who have passed the ATPL exams then been unable to pass the CPL/IR flying tests. Overall it is probably safer to do the less expensive part of the training first.