implement Sorter.new