Answer:
Yes. we can exchange the coordinates.
Explanation:
Distance formula says that
distance between

and we consider the positive root only
If these two are interchanged when we square the result would be the same.
Example:
(1,2) and (-2, -2)
Distance in one order =

If order is interchanged
distance =

Thus we find that order does not matter while calculating distance.