adjust array number sequence,odd is first half while even is second half