1.2 and 1.3 done
1.3 remains a problem that what if the string is out of range of 0-255.
In this case Sort first and compare one by one.