Subject: Sort hash with keys as integer
From: Pl Bergstrm <pal palbergstrom.com>
Date: Sat, 25 Sep 2010 22:23:39 +0900
I have problems with sorting a hash. I get this sort 1,10,2,3..... Must
be because the key is a string, right? How do I deal with this? How do I
make the key value into an integer?
--
Posted via http://www.ruby-forum.com/.