title: Sorting by length in Perl
body: <p>Anyone have any idea how to sort number by length?</p>
  
  <p>Ex : (11,111,122,12,2,13,21,15,211,22,213,2004)</p>
  
  <p>I wanted the sorted array to be:</p>
  
  <pre>11
  12
  13
  15
  111
  122
  2
  21
  22
  213
  2004</pre>