=SUMPRODUCT(MID(SUBSTITUTE(B2,".",REPT(" ",20)),{1,21,41,61},20)*10^{9,6,3,0})
sort -t "." -k1n,1 -k2n,2 -k3n,3 -k4n,4 ip.txt