They believe that the initial sand is a mixture of different types of sand, millions of years into different layers. If you want to know how many millions of years ago the sand is layered, you can observe the process of the avalanche happened today when similar.
The rock is how it formed? May be a long time ago, a sand accumulated for thousands of years, and then another and then accumulated for thousands of years, then it is the first, and so on. This theory was not very reliable and the lack of geological evidence support. Heiner Max (Hern n Makse) and his colleagues believe they can explain.
Not all sand is the same. They are colorful and have different sizes and shapes. Sandstone is made up of at least two different colors of sand. These two kinds of sand form a layer