From: Aaron Haas Date: 2010-11-13T01:54:09+09:00 Subject: Re: help sorting objects by their instance field Thank you guys so much for your helpful posts. I just started learning ruby this week and it has been slow going. I read the api on array's sort methods and I did not understand them. Does this line sort the array of persons? @persons.sort_by {|person| person.aLname} do I need to save it to a new array variable? order_array = @persons.sort_by {|person| person.aLname} -- Posted via http://www.ruby-forum.com/.