Is there a way to regenerate the display and sort names?
As mentionned here :


You can export the first name, last name and the internal ID
Re-import the data by matching the internal ID


This process should regenerate the sort name and display name based on the current settings.