From: ts Date: 2000-08-13T15:35:48+02:00 Subject: [ruby-talk:04452] Re: Few random notes >>>>> "A" == =?iso-8859-1?Q?Aleksi Niemel=E4?= writes: A> Hash#sort could have calling form with block. I've not understood this : pigeon% cat b.rb #!/usr/bin/ruby a = {1 => 2, 3 => 4} b = a.sort {|x| x[1][0] <=> x[0][0] } p b pigeon% b.rb [[3, 4], [1, 2]] pigeon% Guy Decoux