Salutations!
The process in which minerals hold sediments together like glue making a detrital sedimentary rock is called cementation. It hardens the sediments by precipitating into the pores making it a sedimentary rock.
Hope I helped (:
Have a great day!