GitHub - Roydl/AlphaNumericComparer: :books: Provides several types of `IComparer` that enables the alphanumeric comparison of two objects

Provides several types of IComparer that enables the alphanumeric comparison of two objects.

// Can be used in the same way as all `IComparer`.
var comparer = new AlphaNumericComparer<string>();

// Sort any string collection, array, whatever.
var unsortedCollection = new string[] { /* some strings */ };
var sortedCollection = unsortedCollection.OrderBy(str => str, comparer);

// Use it for automatically sorted collections.
var sortedDictionary = new SortedDictionary<string, object>(comparer);
var sortedList = new SortedList<string, object>(comparer);

// Can even be used to sort `System.Windows.Forms` elements or the like.
// In case of `System.Windows.Forms.ListView` you just have to set
// the `ListViewItemSorter` field to automatically sort the list items.
myListView.ListViewItemSorter = new AlphaNumericComparer();