Position of changed user in ordered grid

Here is a problem I'm facing now:

User selects a row in the table. Let's say Abraham Lincoln. The table is sorted by Name (alphabetical order). Now we open a dialog (SPA application) and change the name from Abraham to John. What will happen to this row in the table? Assume there are many rows and pages, so the change cannot fit on the current page anymore.

Where is the right place to show it? resort all rows and put a selector on this one? Leave the row as is, but then it is out of order.

What is the best practice?