Except for the card that you return to your hand, reordering your graveyard won’t affect anything that’s currently targeting or enchanting a card in your graveyard. Whatever it is will be able to track the card it’s targeting or enchanting as your graveyard is reordered.