On what basis do you want to re-arrange the data? Its not very clear with the example you have provided.