Unknown column 'favCount' in 'order clause'