Pit Capitain wrote:

>   objects.sort do |a, b|
>     (a.lastname <=> b.lastname).nonzero? ||
>     (a.firstname <=> b.firstname)
>   end

Wow, this is all great stuff.  thanks folks.
-- 
Posted via http://www.ruby-forum.com/.