ERXArrayUtilities provides convenience methods and tools for manipulating NSArrays. Many of the methods are self explanatory. For a full list please see the api (http://webobjects.mdimension.com/wonder/api/er/extensions/ERXArrayUtilities.htmlImage Removed).
WebObjects provides @sum, @avg, etc array operators. ERXArrayUtilities adds quite a few more:
which return the median of the array elements at the given key path.
The median is the value for which half of the elements are above and half the elements are below.
As such, an array sort is needed and this might be very costly depending of the size of the array.Category:WebObjects