fix sort_by! missing in ruby1.8
Merge branch 'stable-sort-workers'