int Partition(GameObject[] list, int left, int right) { GameObject pivot = list[right]; //GameObject temp; int i = left - 1; for (int j = left; j