@Anonymous
I've attached an App to this posting that you can take a look at.
If gives you three different styles of rating and/or ordering of lists.
I didn't get a chance to write up info on it and had put it together some time ago to throw into the Gallery of Apps here on this forum (where I would write it up more).
But, I wanted to get it in your hands so you could see some of the options you might consider.
There is a dropdown type rating list in there that you can look at.
To answer one of your specific questions "how would I put logic in the gallery drop down..."
In the sample, there are two things to look at. I mentioned that the better option might be to disable the submit until the list is in order. That sample is in there. Look at the DisplayMode property of the submit buttons. You will see that the determination of disable/enable is based on a math formula - that formula is the sum of all the rating (dropdown values) and the triangular number of the list.
Also of interest to you would be the Fill property of the dropdown controls. There you will see the formula that is used to determine if the number is already "in play".
Check it out and let me know if you have any questions....eventually I will find the time to get this in the Gallery and/or do a video on it.
Hope it helps.