Sequencing the Hadamard transform