Each array in a sequence of arrays is reordered. A first port receives in
a first serial order a number of values in each array in the sequence and
a second port transmits the values in a different second serial order.
For each value in each array in the sequence, the address generator
generates an address within a range of zero through one less than the
number of values in the array. For each address from the generator, the
memory performs an access to a location corresponding to the address in
the memory. The access for each address includes a read from the location
before a write to the location. For each array in the sequence, the
writes for the addresses serially write the values of the array in the
first serial order and the reads for the addresses serially read the
values in the second serial order.