Stratigraphy deals with study of