Unknown column 'director' in 'order clause'