def METHOD_NAME(
    properties: list[str],
    expected: list[str],
) -> None:
    """Test the task property sorter."""
    result = sorted(properties, key=functools.cmp_to_key(task_property_sorter))
    assert expected == result