sort input options alphabetically.