Updated the visualizer to work with the most recent sort changes.