>
    </ion-app>

    <script>
      let items = [];
      for (var i = 0; i < 30; i++) {
        items.push(i + 1);
      }
      const reorderGroup = document.querySelector('ion-reorder-group');
      reorderItems(items);

      reorderGroup.addEventListener('ionReorderEnd', ({ detail }) => {
        // Before complete is called with the items they will remain in the
        // order before the drag
        console.log('Before complete', items);

        // Finish the reorder and position the item in the 