Modified ManhattanDir, working on sorter behavior.