Please suggest how to sort tabs dynamically using index or number.
One idea is to use dynamic components and add child using logic in controller. But I dont want to go with this idea.
I added the image. For example : we have 3 tabs named 1 ,2 and 3 . When I click on reorder they should be reorder in position like 3,1,2 using custom logic.