use destructive sort on array in Hash#to_param for performance gains.
Check https://gist.github.com/vipulnsward/6aad158c06a22f931a71 to see the gains.
Fix typo in documentation comment
Merge pull request #10480 from juno/fix-typo

Fix typo in documentation comment [ci skip]
Merge pull request #10453 from vipulnsward/destructive_sort

Speed up Hash#to_param by switching from #sort to #sort!