Sorting ipAddress strings

I need to sort List of Strings which are ipaddresses. That too only the last part can vary. i.e i can get IPAddress like

1.2.3.4, 1.2.3.5, 1.2.3.6 etc. how can i sort it using simple algorithm

[205 byte] By [hi_alla] at [2007-11-27 11:33:52]
# 1

Comparator with Substring, lastIndexOf, Integer.parseInt...

CeciNEstPasUnProgrammeura at 2007-7-29 16:53:55 > top of Java-index,Java Essentials,Java Programming...
# 2

> Comparator with Substring, lastIndexOf,

> Integer.parseInt...

And not forgetting tokens

Jamwaa at 2007-7-29 16:53:55 > top of Java-index,Java Essentials,Java Programming...