It's common for alsa devices to change index, you can either select the pcm option, or you need to configure them in modprobe to use a fixed number (https://wiki.archlinux.org/title/Advanced_Linux_Sound_Architecture). However if you have PulseAudio running, you should not use ALSA at all.