Does it matter what goes first in the paranthesis of a Magnitude equation?

Hi there, suppose I am getting the distance or magnitude between two points. I want to get the distance between my player and my npc given by this equation below:

(player.PrimaryPart.Position - npc.PrimaryPart.Position).Magnitude

Does it matter if I switched around these two as I’m getting the distance between these two vectors?

It should still get the same distance between those two points even if you switched them around. I think the only difference would be that its detecting starts from the npc instead of the player but they should end up with the same result.

What I mean is instead of it calculating the distance from the player to the npc, it would calculate the distance from the npc to the player which would still equal the same result.

The magnitude equation, also known as the Pythagorean Theorem, is this:

sqrt(
    (x1 - x2)^2
  + (y1 - y2)^2
  + (z1 - z2)^2
)

Anything squared is positive, so (x1-x2)^2 is equivalent to (x2-x1)^2.
Because of this, order doesn’t matter.