Unknown column 'ch.size' in 'order clause'