Help for this page

Select Code to Download


  1. or download this
    say sort +*.value, 1=>4,  11=>5,  2=>99,  22=>22,  3=>339
    # prints           1=>4   11=>5   22=>22  2=>99    3=>339
    
    say sort ~*.value, 1=>4,   11=>5,  2=>99,  22=>22,  3=>339
    # prints           22=>22  3=>339  1=>4    11=>5    2=>99