added ability to reorder columns