original_string: private function appendOrderByList(\Aztech\Skwal\Visitor\Printer\Assembler\Select $assembler,\Aztech\Skwal\Query\Select $query)
      {
          $this->expressionVisitor->useAliases(false);
          
          $orderByList = array();
          
          foreach ($query->getSortingColumns() as $sortingColumn) {
              $direction = $this->getSortDirectionText($sortingColumn);
              $orderByList[] = $this->expressionVisitor->printExpression($sortingColumn->getExpression()) . $direction;
          }
          
          $assembler->setOrderByList($orderByList);
      }
code: private function appendOrderByList(\Aztech\Skwal\Visitor\Printer\Assembler\Select $assembler,\Aztech\Skwal\Query\Select $query)
      {
          $this->expressionVisitor->useAliases(false);
          
          $orderByList = array();
          
          foreach ($query->getSortingColumns() as $sortingColumn) {
              $direction = $this->getSortDirectionText($sortingColumn);
              $orderByList[] = $this->expressionVisitor->printExpression($sortingColumn->getExpression()) . $direction;
          }
          
          $assembler->setOrderByList($orderByList);
      }
code_tokens: private function appendOrderByList ( \ Aztech \ Skwal \ Visitor \ Printer \ Assembler \ Select $ assembler , \ Aztech \ Skwal \ Query \ Select $ query ) { $ this -> expressionVisitor -> useAliases ( false ) ; $ orderByList = array ( ) ; foreach ( $ query -> getSortingColumns ( ) as $ sortingColumn ) { $ direction = $ this -> getSortDirectionText ( $ sortingColumn ) ; $ orderByList [ ] = $ this -> expressionVisitor -> printExpression ( $ sortingColumn -> getExpression ( ) ) . $ direction ; } $ assembler -> setOrderByList ( $ orderByList ) ; }
docstring: Adds the sort expressions from a query to a query assembler.
  
  @param \Aztech\Skwal\Visitor\Printer\Assembler\Select $assembler
  @param \Aztech\Skwal\Query\Select $query
docstring_tokens: Adds the sort expressions from a query to a query assembler .