Sorting is a social construct
“Interesting, interesting. Brave enough to be in Gryffindor, loyal enough to make Helga proud and cunning enough to be a wonderful addition for Slytherin. Where should you go?”
“Ravenclaw.”
~
Alternatively how Percy’s sorting goes cause he’s a menace and refuses to make things easy