I read (from a reputable source, just can't remember who) that the Glock rear sight dovetail is tight in the middle and looser at either end because that is what works best with their plastic sights. Direction of installation/removal does not matter.
I always remove R to L and install L to R, the way I consistently do with other pistols.
You could check the nominal dovetail width at the ends and center of the dovetail with a caliper after uninstalling, but you may not get a useable reading.
It probably does not matter. You could also check both directions when you test fit the new sight when fitting it to the dovetail. If it goes in equally well both ways = confirmed. If not, install it the way that fits best.