from typing import List
from typing import Any


def sort_file_summary_content(data: List[Any]) -> List[Any]:
    """sorts the summary file contents"""
    return sorted(
        data,
        key=lambda x: x["branch"]
        + x["host"]
        + x["compiler"]
        + x["c_version"]
        + x["mpi"]
        + x["m_version"]
        + x["o_g"],
    )