def METHOD_NAME() -> None:
    assert parse_sort_keys("name") == [(SORT_KEY_FUNCS["name"], False)]
    assert parse_sort_keys("cpu") == [(SORT_KEY_FUNCS["cpu"], False)]
    assert parse_sort_keys("-cpu") == [(SORT_KEY_FUNCS["cpu"], True)]
    assert parse_sort_keys("name,-cpu,preset") == [
        (SORT_KEY_FUNCS["name"], False),
        (SORT_KEY_FUNCS["cpu"], True),
        (SORT_KEY_FUNCS["preset"], False),
    ]
    with pytest.raises(ValueError, match="invalid sort key"):
        parse_sort_keys("spam")
    with pytest.raises(ValueError, match="invalid sort key"):
        parse_sort_keys("")