script to reorder columns by name