The order of quantifiers matters depending on the formula. For a sequence of same-type quantifiers, the order does not matter:

For a sequence of alternating quantifiers, the order matters: