First , a layer or layers of sand accumulates as the result of sedimentation , either from water ( as in a stream , lake , or sea ) or from air ( as in a desert ) .
First , layers of sand accumulate as sediment , either from water or from air ( as in a desert ) .