Floss first because any bacteria or food dislodged by the floss will be further swept away by the toothbrush and toothpaste. This takes away more bacteria and makes your mouth cleaner.