Item from harry-potter-prisoner-of-azkaban by
A sentient, thousand-year-old wizard's hat that reads the minds of new students and sorts them into houses — sitting on its shelf in Dumbledore's office, knowing more about every student than they know about themselves.
Also known as: the Sorting Hat, Sorting Hat