built sorter class for hand class