# SetChildArrayOrderAsync Method

## Overloads

| [SetChildArrayOrderAsync(IEnumerable<String>)](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.GenericObject.SetChildArrayOrderAsync.htm#Qlik_Engine_GenericObject_SetChildArrayOrderAsync_System_Collections_Generic_IEnumerable_System_String__) |  | Sets the order of the children in a generic object. |
| --- | --- | --- |
| [SetChildArrayOrderAsync(AsyncHandle, IEnumerable<String>)](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.GenericObject.SetChildArrayOrderAsync.htm#Qlik_Engine_GenericObject_SetChildArrayOrderAsync_Qlik_Engine_AsyncHandle_System_Collections_Generic_IEnumerable_System_String__) |  | Sets the order of the children in a generic object. |

[](https://help.qlik.com/en-US/sense-developer/Subsystems/NetSDKAPIref/Content/Qlik.Engine.GenericObject.SetChildArrayOrderAsync.htm) [](https://help.qlik.com/en-US/sense-developer/Subsystems/NetSDKAPIref/Content/Qlik.Engine.GenericObject.SetChildArrayOrderAsync.htm)

## SetChildArrayOrderAsync(IEnumerable&lt;String&gt;)

Sets the order of the children in a generic object.

### Declaration

```

          public Task SetChildArrayOrderAsync([QixName("qIds")] IEnumerable<string> ids)
    
  
```

### Parameters

| Type | Name | Description |
| --- | --- | --- |
| System.Collections.Generic.IEnumerable&lt;System.String&gt; | ids | List of the children identifiers. |

### Returns

| Type | Description |
| --- | --- |
| System.Threading.Tasks.Task |  |

### Implements

[IGenericObject.SetChildArrayOrderAsync(IEnumerable<String>)](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IGenericObject.SetChildArrayOrderAsync.htm#Qlik_Engine_IGenericObject_SetChildArrayOrderAsync_System_Collections_Generic_IEnumerable_System_String__)

### Remarks

To change the order of the children in a generic object, the identifiers of all the children must be included in the list of the identifiers (in `qIds` ).

[](https://help.qlik.com/en-US/sense-developer/Subsystems/NetSDKAPIref/Content/Qlik.Engine.GenericObject.SetChildArrayOrderAsync.htm) [](https://help.qlik.com/en-US/sense-developer/Subsystems/NetSDKAPIref/Content/Qlik.Engine.GenericObject.SetChildArrayOrderAsync.htm)

## SetChildArrayOrderAsync(AsyncHandle, IEnumerable&lt;String&gt;)

Sets the order of the children in a generic object.

### Declaration

```

          public Task SetChildArrayOrderAsync(AsyncHandle asyncHandle, [QixName("qIds")] IEnumerable<string> ids)
    
  
```

### Parameters

| Type | Name | Description |
| --- | --- | --- |
| [AsyncHandle](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.AsyncHandle.htm) | asyncHandle | Handle to asynchronous method request |
| System.Collections.Generic.IEnumerable&lt;System.String&gt; | ids | List of the children identifiers. |

### Returns

| Type | Description |
| --- | --- |
| System.Threading.Tasks.Task |  |

### Implements

[IGenericObject.SetChildArrayOrderAsync(AsyncHandle, IEnumerable<String>)](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IGenericObject.SetChildArrayOrderAsync.htm#Qlik_Engine_IGenericObject_SetChildArrayOrderAsync_Qlik_Engine_AsyncHandle_System_Collections_Generic_IEnumerable_System_String__)

### Remarks

To change the order of the children in a generic object, the identifiers of all the children must be included in the list of the identifiers (in `qIds` ).