In one of the projects, we store the client's IP address (for audit purpose) as varchar. Therefore by default if we sort them using SQL, "60.1.1.1" comes after "101.1.1.1". Unfortunately we are requested to sort the IP addresses like number, means 60.1.1.1 followed by 101.1.1.1. If you've encountered this issue before, kindly share me some ideas.