fix sort order of input options