I need my IP list sorted. Problem is that i want them sorted after the value in the first part, then second part and so on.
MYTABLE DATA 20.1.2.1 100.1.1.1 20.1
This is something you'd use the INET_ATON() function in MySQL, while that doesn't exist for T-SQL, see this question for examples of how it can be done.