The devices /dev/ttyUSB0 etc are dynamic and can swap between the different USB ports depending on when they start up.
Use the /dev/serial/by-path/platform......... devices. These will always point to the correct USB port.
Use dmesg to watch for when the USB port is plugged in and what port was configured
eg:
[ 11.508708] ch341 1-1.2:1.0: ch341-uart converter detected
[ 11.560645] usb 1-1.2: ch341-uart converter now attached to ttyUSB0
The translates to /dev/serial/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.2:1.0-port0 on my PI. Yes these are symbolic links to the ttyUSB device, but the system maintains the links to ensure that the device points to the correct device.