I need to sort a List based on the difference between the strings in the list and a target string.
What’s the best way of implementing this kind of sorting algorithm?
I don’t care too much about performance but the collection could potentially become big (let’s say half a million tops).
Any Help Appreciated!
I would recommend calculating the Levenshtein distance and then simply ordering by the integer result. (Magic code)
Without OrderBy for the old skool 2.0 guys?