whoisda The best practice for that is to use arrays and delete the level from the array when played and when the array is empty build it again and restart.
If you don't need them to be picked in random and your levels are named "level1, level2, level3" etc. Then you can use a string like:
Go to level by name: "level"&levelnumber+1
So create a variable and set it to the levelnumber on start of each level. So on layout1 set variable to 1 and then the string "level"&levelnumber+1 will take you to level2.