Can we change the order of images/services in composed file?

Hi there,
can we change the order of services or images for voting-app?
In file can we write worker: or result: first instead of db: and redis: ?

You can ensure the start ordering of your services defined in your docker-compose.yml with the depends_on keyword: