It matters once you have higher inductive types. Consider the following example (Agda):
data S¹ : Set where
base : S¹
loop : base ≡ base
Changing the order will make loop impossible to see base.
EDIT: there is an interesting conversation in the comments below, which defines how 'does not matter' the order is.