On Dec 2, 12:20 am, Paul Private <paulus4... / gmail.com> wrote: > THanks Jordan > this was exactly what I was looking for > > Paul Hi Paul, Glad to help. One more thing: it would probably look nicer to hide that behind <=> class Cursus ... def <=>(other) self.to_s <=> other.to_s end end ...then you can call cursussen.sort w/o the block. Regards, Jordan