SAS swung to a bigger-than-expected net profit in the third quarter as higher demand drove a 54% rise in revenue.