Its should not matter if you change your target.

With your follow macro

Unless you write the macro to reset your castsequence with every new target your .. your spells are going to cast in the order in which i list them. Unless i am misunderstanding your question