adjust category order