public function sortControlAction(Request $request)
    {
        /* @var $controls ListControls */
        $controls = $this->get('anime_db.item.list_controls');

        $direction = $controls->getSortDirection($request->query->all());
        $sort_direction = [
            'type' => $direction == 'ASC' ? 'DESC' : 'ASC',
            'link' => $controls->getSortDirectionLink($request->query->all()),
        ];

        return $this->render('AnimeDbCatalogBundle:Item:list_controls/sort.html.twig', [
            'sort_by' => $controls->getSortColumns($request->query->all()),
            'sort_direction' => $sort_direction,
        ]);
    }