Relative dating of sedimentary rocks