need help with sort

From: weaselboy1976 (weaselboy1976_at_yahoo.com)
Date: 06/21/04


Date: 21 Jun 2004 09:59:06 -0700

Hello

I can't seem to figure out the sort command. I have lines like:

1.8
1.2
1.12
2.2

"sort -n" does:

1.12
1.2
1.8
2.2

But I want to sort by the number before the dot "." and then the
number after the dot ".", so I want:

1.2
1.8
1.12
2.2

Thanks in advance for any help!