Optimization of log logistics at the operational level considering sorting decisions and synchronization requirements