http://www.perlmonks.org?node_id=539144

sen has asked for the wisdom of the Perl Monks concerning the following question:

Greetings monks.

I have a problem in sorting a array. If array contains both digits & characters. my array is like

@a = qw/1x1 1x12 12x3 10x1 4x12 4x1 1x1 22x3 2x1 4x0 12x1 1x2/;

Is there any way to sort this.

Thanks in advance