I have a list of valid IP's as a
List<string> IP = new List<string>()
For instance I could have:
192.168.1.54
192.168.1.95
192.168.1.22
192.168.1.26
192.168.1.4
192.168.1.11
192.168.1.103
How can I sort this list so it will appear sorted by last numerical value? (All the IP's will be within the same subnet so the first three octets won't matter)
192.168.1.4
192.168.1.11
192.168.1.22
192.168.1.26
192.168.1.54
192.168.1.95
192.168.1.103
Any ideas?