public function pushEachSort($field, array $sort)
{
// add modifiers
if (!$sort) {
throw new Exception('Sort condition is empty');
}
if (!isset($this->operators['$push'][$field]['$each'])) {
throw new Exception('Field ' . $field . ' must be pushed with $each modifier');
}
$this->operators['$push'][$field]['$sort'] = $sort;
return $this;
}