Add order columns to categories and metrics