remove sort_by!

sort_by! doesn't exist in Ruby 1.8.7