private function convertRenderGroupType($type)
    {
        $lookup = [
            'char'    => GroupAndSortingInformationInterface::GROUP_CHAR,
            'digit'   => GroupAndSortingInformationInterface::GROUP_DIGIT,
            'day'     => GroupAndSortingInformationInterface::GROUP_DAY,
            'weekday' => GroupAndSortingInformationInterface::GROUP_WEEKDAY,
            'week'    => GroupAndSortingInformationInterface::GROUP_WEEK,
            'month'   => GroupAndSortingInformationInterface::GROUP_MONTH,
            'year'    => GroupAndSortingInformationInterface::GROUP_YEAR,
        ];
        if (array_key_exists($type, $lookup)) {
            return $lookup[$type];
        }

        return GroupAndSortingInformationInterface::GROUP_NONE;
    }