Canadian natural food group SunOpta posted a loss for the first nine-months of the year and said its primary focus is on the improvement of operating margins.