Help for this page

Select Code to Download


  1. or download this
    perl -le '@arr = (2, 17, 8, 5, 26);
    print for sort @arr;'
    
  2. or download this
    17
    2
    26
    5
    8
    
  3. or download this
    perl -le '@arr = (2, 17, 8, 5, 26);
    print for sort {$a <=> $b} @arr;'
    
  4. or download this
    2
    5
    8
    17
    26