reorder columns to match order used in 'keep'