def METHOD_NAME(client, column_test_table):
    columns = models_base.Column.objects.filter(table=column_test_table).values_list('id', flat=True)
    preview_template = ','.join(f'{{{ column }}}' for column in columns)
    settings_id = column_test_table.settings.id
    column_order = [4, 5, 6]
    data = {
        "preview_settings": {
            'template': preview_template,
        },
        "column_order": column_order
    }
    response = client.patch(
        f"/api/db/v0/tables/{column_test_table.id}/settings/{settings_id}/",
        data=data,
    )
    assert response.status_code == 200
    response_data = response.json()
    assert response_data['preview_settings']['template'] == preview_template
    assert response_data['preview_settings']['customized'] is True
    assert response_data['column_order'] == column_order