Make sure the input mode definition values are in the correct order