today around 730, i went to check my phone, it was mostly charged around 80% and there was the silver apple logo on the screen. a load bar appeared but didnt load anything. then the regular "slide to unlock" screen appeared. the home screen buttons were back in their original spot. all my apps were in alphabetical order.

can anyone help and explain what happened? if i did something and how bad is it?