sort color = swap array