Sam Sorts

Sam’s things are all in a pile. He sorts his things into different groups before putting them away. How will Sam sort his things?