how can I sort it with Perl, by year and the second number? There is no beggining 0 in the second number.xxxxxx.2012-50.yyyyy xxxxxx.2012-51.yyyyy xxxxxx.2012-52.yyyyy xxxxxx.2013-1.yyyyy xxxxxx.2013-2.yyyyy xxxxxx.2013-3.yyyyy xxxxxx.2013-4.yyyyy ... xxxxxx.2013-10.yyyyy xxxxxx.2013-11.yyyyy
In reply to Sort an array of strings based on two fields by luca76
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |