Rearranging the data in a more meaningful order