On Nov 11, 2008, at 10:59 , Phil Hagelberg wrote: > Really? String#<=> is pretty well-understood as far as I can tell. yes... it is very well understood to be very bad for this problem: >> "a2" <=> "a11" => 1 >> 2 <=> 11 => -1