reorder Data file structure