Puts the component in the appropriate place compared to the other components by the zIndex.
Child that is moved accordingly.
The value that is used to compare the order of components.