protected function getPagingColumn()
 {
     switch ($this->order) {
         case self::ORDER_NAME:
             return 'name';
         case self::ORDER_ID:
             return parent::getPagingColumn();
         default:
             throw new Exception("Uknown order '{$this->order}'!");
     }
 }