Sort Hash o Hash accordint to two keys

Discussion in 'Perl Misc' started by Malik Yousef, May 6, 2004.

  1. Malik Yousef

    Malik Yousef Guest

    Hi
    I have the fellwoing hash structure:
    %allresults{hdrnam}{WinPosition}


    First i would like to sort the hash according to the key "hdrname" and
    then to sort according to the WinPosition which is with numeric value.
     
    Malik Yousef, May 6, 2004
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Tommo
    Replies:
    2
    Views:
    3,511
    Gunnar Hjalmarsson
    Dec 15, 2003
  2. Navin
    Replies:
    1
    Views:
    747
    Ken Schaefer
    Sep 9, 2003
  3. Pål Bergström

    Sort hash with keys as integer

    Pål Bergström, Sep 25, 2010, in forum: Ruby
    Replies:
    3
    Views:
    161
    Robert Klemme
    Sep 26, 2010
  4. Milkweed
    Replies:
    6
    Views:
    348
    Milkweed
    Oct 30, 2003
  5. Malik Yousef

    Sort Hash o Hash accordint to two keys

    Malik Yousef, May 6, 2004, in forum: Perl Misc
    Replies:
    9
    Views:
    204
    Uri Guttman
    May 7, 2004
Loading...

Share This Page