>This is a false problem, because when you grouping a resultset, it have not sense order the result respect a field not included into the grouping space.
>This assertion is not true before VFP8 because VFP7 and before they allow not grouping/aggregate suborder selection.
>
>Then, in VFP8 this is sufficient:
>
>SELECT CODE,SUM(freq)*10 FROM csearch GROUP BY code INTO ARRAY arank6
>
>
I wouldn't say sufficient it is rather functional. I still need to order resukts.
MM