use Sort::Versions; print join(" ",sort versions qw(1.2a 1.10a)),"\n";