I have data in a column and its not sorting properly ( at least the way I want). here is an example
1.3.1.1.1
1.3.1.1.2
1.3.1.1.3
1.3.1.1.4
1.3.1.1.5
1.3.1.1.6
1.3.1.1.7
1.3.1.3.1
1.3.1.3.10
1.3.1.3.11
1.3.1.3.12
1.3.1.3.13
1.3.1.3.2
1.3.1.3.20
1.3.1.3.21
1.3.1.3.22
1.3.1.3.3
1.3.1.3.30
1.3.1.3.31
Here and 1.3.1.3.2 and 1.3.1.3.3 should come after 1.3.1.3.3. Proper way it should be sorted is:

1.3.1.1.1
1.3.1.1.2
1.3.1.1.3
1.3.1.1.4
1.3.1.1.5
1.3.1.1.6
1.3.1.1.7
1.3.1.3.1
1.3.1.3.2
1.3.1.3.3
1.3.1.3.10
1.3.1.3.11
1.3.1.3.12
1.3.1.3.13
1.3.1.3.20
1.3.1.3.21
1.3.1.3.22
1.3.1.3.30
1.3.1.3.31

How do I get this sorting issue resolved? Any ideas?