Use storage for saving a list

I used armor stands to save a number in a score for each armor stand and change their name to the player that execute the function's name, then the new armor stand is teleported to a fixed location and if there is another armor stand in that lcoation, moves 1 coordinate for a fixed way, that repeats until there is one armor stand per block (so they form a line, lique a queue) when a game needs to be selected, i check with if entity... if there are any armor stands, and if they are, we use scoreboard operation to change the next game's id (a score in a scoreboard) to the armor stand in the previuslty mentioned fixed position's score, and use tellraw and @e selectiors to display this armor stand's name ( which effectively displays the player that ran that function's name), then this armor stand is killed and all armor stands move one block towards the fixed position, forming the line again. This was the system i used for queuing up games and remembering which player voted for them, how could i do this more efficietly (using storages i guess [i dont know anything bout storages])
Continue to help post