David A. Black wrote: > You can always define your own: > > class Array > def sort_by!(&b) > replace(sort_by &b) > end > end No, first you have to test whether or not sort_by actually changed the order of items in the Array, if not then you must return nil. ;) -- Glenn Parker | glenn.parker-AT-comcast.net | <http://www.tetrafoil.com/>