Confusion regarding docker run command

In one of the questions in section: Docker Engine and Storage.
I had to write the command to run a docker for MySQL.
My Command :
docker run -d -e MYSQL_ROOT_PASSWORD:db_pass123 --name=mysql-db mysql
Hint :
docker run -d --name mysql-db -e MYSQL_ROOT_PASSWORD=db_pass123 mysql

I was unable to pass that question using my command. Is There any particular sequence we need to write command?

Yes exactly you should follow the below sequence also using colon " : " instead of equal sign “=” is not true .
docker run -d --name=mysql-db -e MYSQL_ROOT_PASSWORD=db_pass123 mysql