When I enter a command:
git tag -l
I get such results:
rc-0.9.0.0 rc-0.9.0.1 rc-0.9.0.10 rc-0.9.0.11 rc-0.9.0.12 rc-0.9.0.2
According to this answer, on platforms which don't support sort -V like Windows and OSX, you can use
sort -V
git tag -l | sort -n -t. -k1,1 -k2,2 -k3,3 -k4,4