I have a drop down menu where options are enumerated and shuffled, so that the selected option becomes the first. This script is working as intended: