If the layers of rock are the result of sedimentation, then the layers were deposited bottom to top. This allows geologists to use the Law of Superposition to determine the relative ages of the layers, with the oldest at the bottom and the youngest at the top.