Ignoring first X characters from an array when sorting.
Posted on 2010-11-11
I have an array of roughly 5000 elements, each of which is in this format:
I need to sort this array by the dates, not by the server address. How would I go about making it so that the Array.Sort() method ignores all characters prior to "log"? From what I can see, I need to implement an IComparer interface, I'm just not too sure how.