re-order array such that odds are before even