options are returned to their correct place in the select box