Excel Sort IP Address

You are actually sorting the decimal value of the IP Address.

A2: IP Address
B2: