def METHOD_NAME(data_fixture):
    builder = data_fixture.create_builder_application()
    domain_one = data_fixture.create_builder_domain(builder=builder, order=1)
    domain_two = data_fixture.create_builder_domain(builder=builder, order=2)
    assert DomainHandler().order_domains(builder, [domain_two.id, domain_one.id]) == [
        domain_two.id,
        domain_one.id,
    ]
    domain_one.refresh_from_db()
    domain_two.refresh_from_db()
    assert domain_one.order == 2
    assert domain_two.order == 1