def METHOD_NAME(plugins: list[dict[str, str]]) -> list[dict[str, str]]:
    plugins_dict: dict[str, dict[str, str]] = {}
    for plugin in plugins:
        # Plugins from later indexes override others
        plugin["name"] = plugin["name"].lower()
        plugins_dict[plugin["name"]] = plugin
    return sorted(plugins_dict.values(), key=lambda p: p["name"])