Report question

Question: How to rewrite array from row-order to column-order?