Anyway to sort a table mid game? Change column order
So I'm working on a word puzzler and I've hit a snag. One of my tiles can only be made to fit several letters. So I made it identify which of those letters are in particular words and choose one of them. Now, I have several other tiles and they take up the rest of the letters in the word. I'm using tables to prevent the repletion of letters in the tiles. So example, my word is 'SOLIDIFY' and the 'specified' tile uses the letter 'F' and the remain letters should be then distributed to 'regular' tiles. My problem lies in how they identify the regular tiles. How do I move the 7th column or whichever column has my 'specified' tile to the beginning so that the remain tiles can just pick from the next columns. The selection of the 'specified' tile is random since I want unique puzzles rather than set one. Perhaps I'm looking it all wrong? Perhaps I use duplication of tables and delete columns as selections are made? Any ideas?