src/Plugin/ModifyCheckoutLayoutPlugin.php
private function changeCartItemsSortOrder($jsLayout)
    {
        if ($this->scopeConfig->getValue(self::CONFIG_MOVE_CART_ITEMS_PATH, ScopeInterface::SCOPE_STORE)) {
            $jsLayout['components']['checkout']['children']['sidebar']['children']['summary']['children']['cart_items']
                ['sortOrder'] = 0;
        }
        return $jsLayout;
    }
private function changeCartItemsSortOrder($jsLayout)
    {
        if ($this->scopeConfig->getValue(self::CONFIG_MOVE_CART_ITEMS_PATH, ScopeInterface::SCOPE_STORE)) {
            $jsLayout['components']['checkout']['children']['sidebar']['children']['summary']['children']['cart_items']
                ['sortOrder'] = 0;
        }
        return $jsLayout;
    }
private function changeCartItemsSortOrder ( $ jsLayout ) { if ( $ this -> scopeConfig -> getValue ( self :: CONFIG_MOVE_CART_ITEMS_PATH , ScopeInterface :: SCOPE_STORE ) ) { $ jsLayout [ 'components' ] [ 'checkout' ] [ 'children' ] [ 'sidebar' ] [ 'children' ] [ 'summary' ] [ 'children' ] [ 'cart_items' ] [ 'sortOrder' ] = 0 ; } return $ jsLayout ; }
Changes cart items to be above totals in the cart summary.

@param array $jsLayout
@return array
Changes cart items to be above totals in the cart summary .