Added ability to select the visualization of sorting