original_string: private function applyOrders(array $settings): void
      {
          // Obtain a list of columns
          foreach ($settings as $column => $order) {
              $this->getSource()->addOrderBy($column, $order);
          }
      }
code: private function applyOrders(array $settings): void
      {
          // Obtain a list of columns
          foreach ($settings as $column => $order) {
              $this->getSource()->addOrderBy($column, $order);
          }
      }
code_tokens: private function applyOrders ( array $ settings ) : void { // Obtain a list of columns foreach ( $ settings as $ column => $ order ) { $ this -> getSource ( ) -> addOrderBy ( $ column , $ order ) ; } }
docstring: Apply order to Select
  
  @param  array $settings
  
  @return void
  @throws Grid\GridException
docstring_tokens: Apply order to Select