Re: Sorting by a function that depends on the current result set

2010-03-04 Thread Chris Hostetter
: When sorting by (an integer) price field I need prices under 1 : standard deviation from the mean of the current result set to be : pushed to the end of the list. I'm not 100% certain, but i *think* that with the new sort by function work granted added to the trunk a little while back that thi

Sorting by a function that depends on the current result set

2010-02-21 Thread Daniel Dourvaris
When sorting by (an integer) price field I need prices under 1 standard deviation from the mean of the current result set to be pushed to the end of the list. For example with these values: 0, 20, 40, 100, 2000, 2000, 2000, 2000, 2000, 3000, 3000, 3000, 3000, 3000, 4000, 5000, 5000, 9000 Mean ~