From: Jim Burgess Date: 2010-12-01T06:12:39+09:00 Subject: Re: Help sorting an array Thanks again for all of the helpful answers. Every time I post a question here I always end up learning a lot. Anyway, I took the advice offered and rewrote my program to improve my data structure. I now have a list of Month objects which have a date attribute that they can be sorted by. A Month object can contain an arbitrary amount of Event objects. This works a lot better with less code (not surprisingly!) -- Posted via http://www.ruby-forum.com/.