Sandstone formation and deposition