Reorganized the columns in the output table