The Malaga flight left at 9.01pm (local time) and the Palma flight left at 9.07pm (local time) which by my reckoning means the Malaga flight will be the last one back.
All the best to those at WW. Flew with them a few times between EDI and CWL, always on time and friendly staff.