Swap(ElementA as Integer,ElementB as Integer)

Use this method to swap objects in the array.

ElementA: Use this parameter to specify one of the element to swap.

ElementB: Use this parameter to specify the other element to swap.

Note: GridObjectArray is 0 based, that is the first item is number 0.