/**
  * @param PersonCriteria $criteria
  */
 private function checkOrder(PersonCriteria $criteria)
 {
     $criteria->hasOrder() ? $this->qb->addOrderBy('p.' . $criteria->getOrder(), $criteria->getOrderDirection()) : null;
 }