On Nov 1, 2011, at 10:28 PM, Jan wrote: > array.sort_by {|s| [s.size, s]} Wow, thanks Jan that was it:) Wayne