Does it matter what order you do your oral hygiene routine in?

Whatever works. Whatever works best for you. Typically brushing first is preferred because you remove the major accumulations. Then flossing to get in between, then rinsing or Waterpik. Then fluoride rinse if needed. Good luck.