That would work, but the behaviour would be inconsistent.
If the item is at a higher position than the target it will move to the left of the item at the target position, if it is in a lower position than the target it moves to the right. I wouldn't expect that.