reverse `a_array`