DS2413 One Wire IC read and store the addresses of individual IC's
The OneWire system has no concept of the arrangement of the bus. All it knows is the addresses, and it always searches for those addresses in a pre-defined order.
No matter what arrangement you have on the bus the devices will always be found in the same order.
You can think of it akin to a teacher taking the register in class. They call out the names in alphabetical order and the pupils answer (if they are there). All it tells the teacher is who is there and who isn't. It doesn't give them any information about where in the class the pupil is sat.
You can read more about how the address searching is done here.