Tens of thousands of patients were waiting for routine treatment at Wigan hospitals in January.