     reorderItems(items);

        // After complete is called the items will be in the new order
        console.log('After complete', items);
      });

      function reorderItems(items) {
        reorderGroup.replaceChildren();

        let reordered = '';

        for (let i = 0; i < items.length; i++) {
          reordered += `
          <ion-item>
            <ion-label>
              Item ${items[i]}
            </ion-label>
            <ion-reorder slot="end"></ion-reorder>
          </ion-item>
  