Floss, rinse, brush...

This may sound like a stupid question, but it has been bothering me for months.

In what order are you supposed to floss, use mouthwash, and brush? I figure that brushing should always be last, but a friend of mine was aghast, saying that you are supposed to rinse floss and then brush, or else all sorts of nastiness remains stuck.

Well, in what order?

I floss first , than brush and rinse.I figure flossing gets the really nasty stuff.Than brushing cleans everything up for the rinse.