original_string: protected function prepareOrderComponentsAccountOrder(array &$order)
      {
          $this->setItemOrderCartComponent($order, $this->price);
          $this->setItemOrderPriceRuleComponent($order, $this->price, $this->price_rule);
          $this->setItemOrderPaymentComponent($order, $this->price, $this->payment, $this->order);
          $this->setItemOrderShippingComponent($order, $this->price, $this->shipping, $this->order);
  
          ksort($order['data']['components']);
      }
code: protected function prepareOrderComponentsAccountOrder(array &$order)
      {
          $this->setItemOrderCartComponent($order, $this->price);
          $this->setItemOrderPriceRuleComponent($order, $this->price, $this->price_rule);
          $this->setItemOrderPaymentComponent($order, $this->price, $this->payment, $this->order);
          $this->setItemOrderShippingComponent($order, $this->price, $this->shipping, $this->order);
  
          ksort($order['data']['components']);
      }
code_tokens: protected function prepareOrderComponentsAccountOrder ( array & $ order ) { $ this -> setItemOrderCartComponent ( $ order , $ this -> price ) ; $ this -> setItemOrderPriceRuleComponent ( $ order , $ this -> price , $ this -> price_rule ) ; $ this -> setItemOrderPaymentComponent ( $ order , $ this -> price , $ this -> payment , $ this -> order ) ; $ this -> setItemOrderShippingComponent ( $ order , $ this -> price , $ this -> shipping , $ this -> order ) ; ksort ( $ order [ 'data' ] [ 'components' ] ) ; }
docstring: Prepare order components
  @param array $order
docstring_tokens: Prepare order components