Unknown column 't.numfiles' in 'order clause'