code: public function findNotOutOfWorkflow(array $order = array('name' => 1))
      {
          $qa = $this->createAggregationQuery();
          $qa->match(array('outOfWorkflow' => false));
          $qa->sort($order);
  
          return $this->hydrateAggregateQuery($qa);
      }
docs: @parameter array $order
  
  @return array