protected function getGroupByKey( $group, $key, $value )
    {
        if ( !is_string( $group ) && is_callable( $group ) )
        {
            return $group( $value, $key );
        }

        return Util::dataGet( $value, $group );
    }