def sorted_lines(file):
    """
    Lines of file, sorted.

    Parameters
    ----------
    file : ~pathlib.Path
        Path to file whose lines to read.

    Returns
    -------
    ~typing.List[str]
        Sorted lines of file.
    """
    return sorted(file.read_text().splitlines())
