since the sugar particles cannot pass through, the bag acts like a filter.
a beaker of pure water will go through the bag, as the bag is semi-permeable and lets water in and out.
a beaker with 8% sugar concentrate in water, the water will go through, but that will leave you with the 8% of sugar. Some mass will be left in the bag
a beaker with 15% sugar dissolved in it, will act the same as the 8% solution, but it will leave behind a greater mass.