def keyCharV(char):
    """The vertical position of the middle of a character.

    Used to sort the characters of a page in the vertical direction.

    Parameters
    ----------
    char: record

    Returns
    -------
    float
        The height of the middle of the character.
    """

    return (char[3] + char[1]) / 2