public function forceChartsRankInSession(GraphOnTrackersV5_Renderer $renderer, GraphOnTrackersV5_Chart $edited_chart, $wanted_position)
 {
     $session = new Tracker_Report_Session($renderer->report->id);
     $session->changeSessionNamespace("renderers.{$renderer->id}");
     $sorter = new GraphOnTrackersV5_InSessionChartSorter($session);
     $sorter->sortChartInSession($this->getCharts($renderer), $edited_chart, $wanted_position);
 }
 public function itMovesAtTheBeginningOutOfBounds()
 {
     $this->expectOrder('pie', 'bar', 'burndown');
     $this->sorter->sortChartInSession($this->charts, $this->pie, 0);
 }