Fix typo

"resort" -> "result"
Merge pull request #6504 from follower/patch-2

Fix typo