Canadian food group SunOpta made a loss in 2013 but the company described the year as "transformational" as it realigned its operations to focus on natural and organic food.