use destructive sort for Hash#to_param

use destructive sort  on a new array for `Hash#to_param`