Process by which minerals and sediments are formed together