Modify the sort workfaces based on matrix method in the SortTool class.