Reverse the positions of two business objects in this business object array. Keep in mind that the first element in the array is zero (0), the second is 1, the third is 2, and so on.
Syntax
void swap(int index1, int index2)
Parameters
Examples
The following example uses swap() to reverse the positions of
BusObjA and BusObjC in the following array:
swap(0,2);