first example
No, only the one card you drag gets a new position (that's what the instance variable is for). Except - this is the flaw - if you overlap with two cards, two of them get a new position - could be easily fixed, but version 2 is better and so there is no need for that.