On Mon, 26 May 2003, Brian Candler wrote: > It doesn't, because Array doesn't have any requirement to be sorted. it does not - but it certainly can be. i've often wondered why Array does not carry an internal @sorted flag - which could be used as a hint for certain operations - like Array#include? -a -- ==================================== | Ara Howard | NOAA Forecast Systems Laboratory | Information and Technology Services | Data Systems Group | R/FST 325 Broadway | Boulder, CO 80305-3328 | Email: ara.t.howard / fsl.noaa.gov | Phone: 303-497-7238 | Fax: 303-497-7259 | ~ > ruby -e 'p % ^) .intern' ====================================