(#11) Add a sort! to work-around inconsistent Ruby 1.8.7 behaviour.