In France a cheese course traditionally comes after the main course and before dessert.
Cheese before sweet.