Why options in a drop-down field are not in proper order?