Use OP_SorterColumns in aggregate queries.  Remove OPFLAG_CLEARCACHE.