I have list which is sorted using a specific string comparison function.
Now I have to re-sort this list using a different string comparison function.
This new comparsion is slightly different when comparing certain special characters, like Umlauts for example. In most cases the element has to be moved just one or two slots to get to the correct position.
Which sorting algorithm is best suited to re-sort this almost fully sorted list in terms of runtime execution speed?