Text this: Application of a hybrid two-stage optimization framework for sustainable machining