As long as you brush and floss thoroughly, it does not matter if you brush then floss or floss then brush. However, flossing before brushing enables the fluoride in your toothpaste to better reach the areas between the teeth.