There are a few ways to retake the sorting hat quiz on wizarding world. Delete your wizarding world account and create a new one.this is the only way to retake the quiz and get a different result.
Sorting hat quiz pottermore buzzfeed
Pottermore printable sorting hat quiz
Sorting hat quiz deutsch