public function getOrderParam() { $order = parent::getOrderParam(); return '(`quantity` > 0) DESC, ' . $order; }