It is suggested by experts to complete the floor at first and then installs the toilet. As no one wants their bathroom to face water damage or finishing error, so it would be better if you just do the floor before. Also, the floor will stick better with the tiles if you attach the toilet above it.